diff --git a/flake.nix b/flake.nix index f780d9d..ee517b6 100644 --- a/flake.nix +++ b/flake.nix @@ -24,7 +24,7 @@ user = "tristan"; in { nixosConfigurations = { - zenix = mkConf "zenix" { inherit nixpkgs system user home-manager; }; + zenix = mkConf "zenix" { inherit nixpkgs system user home-manager hyprland; }; FCS-Tristan-Nixbook = mkConf "work" { inherit nixpkgs system user home-manager hyprland; }; }; }; diff --git a/system/zenix/home.nix b/system/zenix/home.nix index bb4cfb7..a21d21a 100644 --- a/system/zenix/home.nix +++ b/system/zenix/home.nix @@ -54,12 +54,10 @@ programs.mbsync.enable = true; services.mbsync.enable = true; - home.file.".config/hypr/hyprland.conf" = { - source = ./config/hypr.conf; - }; - wayland.windowManager.hyprland = { extraConfig = '' + exec-once = swaybg -o DP-1 -i ~/Pictures/backgrounds/demonslayer.jpg -o HDMI-A-1 -i ~/Pictures/backgrounds/nier.jpg & + monitor = DP-1, 1920x1080@144,0x0, 1 monitor = HDMI-A-1, 1920x1080@60, 1920x0,1 workspace = DP-1, 1