diff --git a/README.md b/README.md index 7a71b13f..99c713db 100644 --- a/README.md +++ b/README.md @@ -136,7 +136,7 @@ Completed ToDo List [here](docs/complete.md) # Troubleshooting 1. To troubleshoot disko issues, this command can come in handy: ``` - nix eval .#nixosConfigurations.[CONFIG_NAME].config.disko.devices._config + nix eval .#nixosConfigurations.`hostname`.config.disko.devices._config ``` diff --git a/flake.nix b/flake.nix index 2f936731..5a07dc05 100644 --- a/flake.nix +++ b/flake.nix @@ -60,7 +60,7 @@ framework-server = libx.mkHost { hostname = "framework-server"; }; nuc-server = libx.mkHost { hostname = "nuc-server"; }; nixos-desktop = libx.mkHost { hostname = "nixos-desktop"; unfree = true; repo = "nixpkgs-unstable"; desktop = "hyprland"; theme = "tokyo-night"; }; - nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; repo = "nixpkgs-unstable"; desktop = "plasma6"; }; + nixos-framework = libx.mkHost { hostname = "nixos-framework"; unfree = true; repo = "nixpkgs-unstable"; desktop = "hyprland"; theme = "green"; }; backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; piaware-rpi4 = libx.mkHost { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; quitman-rpi4 = libx.mkHost { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; @@ -70,7 +70,7 @@ "albert@framework-server" = libx.mkHome { hostname = "framework-server"; }; "albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; }; "albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "tokyo-night"; }; - "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "plasma6"; }; + "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "green"; }; "albert@backups-rpi4" = libx.mkHome { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@piaware-rpi4" = libx.mkHome { hostname = "piaware-rpi4"; system = "aarch64-linux"; type = "small"; }; "albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; }; diff --git a/nixos/common/desktops/hyprland/default.nix b/nixos/common/desktops/hyprland/default.nix index d6c4ba74..eca68dfd 100644 --- a/nixos/common/desktops/hyprland/default.nix +++ b/nixos/common/desktops/hyprland/default.nix @@ -93,12 +93,12 @@ # HibernateDelaySec is the amount of time the # system sleeps before entering hibernate when # using suspend-then-hibernate - # systemd.sleep.extraConfig = '' - # AllowSuspend=yes - # AllowHibernation=yes - # AllowSuspendThenHibernate=yes - # HibernateDelaySec=600 - # ''; + systemd.sleep.extraConfig = '' + AllowSuspend=yes + AllowHibernation=yes + AllowSuspendThenHibernate=yes + HibernateDelaySec=600 + ''; # XDG portal xdg.portal.enable = true;