Merged Host/Home Opt into SysOpt
All checks were successful
Nix Build / build-nixos (push) Successful in 5m27s

This commit is contained in:
soraefir
2024-04-14 07:57:07 +02:00
parent 0a02d67b7e
commit 972cb47e3f
65 changed files with 331 additions and 338 deletions

View File

@ -1,6 +1,6 @@
{ lib, config, pkgs, ... }: {
config = lib.mkIf (config.homecfg.wm == "Wayland") {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
home.packages = with pkgs; [ libnotify ];
services.dunst = {
enable = true;

View File

@ -1,6 +1,6 @@
{ lib, config, pkgs, ... }: {
config = lib.mkIf (config.homecfg.wm == "Wayland") {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
home.packages = with pkgs; [ eww jq jaq custom.amdgpu_top ];
xdg.configFile."eww" = {

View File

@ -17,7 +17,7 @@ let
''
}/bin/waybar-${name}";
in {
config = lib.mkIf (config.homecfg.wm == "Wayland") {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
home.packages = [ pkgs.custom.amdgpu_top pkgs.jq ];

View File

@ -1,5 +1,5 @@
{ lib, pkgs, config, ... }: {
config = lib.mkIf (config.homecfg.wm == "Wayland") {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
home.packages = with pkgs; [ swayidle swaylock-effects ];

View File

@ -1,6 +1,6 @@
{ lib, config, pkgs, ... }: {
config = lib.mkIf (config.homecfg.wm == "Wayland") {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
home.packages = with pkgs; [ wofi ];
xdg.configFile."wofi/config".text = ''
width=280

View File

@ -11,7 +11,7 @@ let
'';
};
in {
config = lib.mkIf (config.homecfg.wm == "Wayland") {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
home.packages = with pkgs; [
dbus-hyprland-environment

View File

@ -1,5 +1,5 @@
{ lib, config, pkgs, ... }: {
config = lib.mkIf (config.homecfg.wm == "Wayland") {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
wayland.windowManager.hyprland = {
enable = true;
xwayland.enable = true;

View File

@ -1,6 +1,6 @@
{ lib, config, pkgs, ... }: {
imports = [ ./config.nix ];
config = lib.mkIf (config.homecfg.wm == "Wayland") {
config = lib.mkIf (config.usercfg.wm == "Wayland") {
wayland.windowManager.hyprland = { enable = true; };
};
}