Re-update sleep.extraConfig
This commit is contained in:
parent
ce14afb06a
commit
04673ec1a8
3 changed files with 9 additions and 9 deletions
|
@ -136,7 +136,7 @@ Completed ToDo List [here](docs/complete.md)
|
||||||
# Troubleshooting
|
# Troubleshooting
|
||||||
1. To troubleshoot disko issues, this command can come in handy:
|
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
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,7 @@
|
||||||
framework-server = libx.mkHost { hostname = "framework-server"; };
|
framework-server = libx.mkHost { hostname = "framework-server"; };
|
||||||
nuc-server = libx.mkHost { hostname = "nuc-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-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"; };
|
backups-rpi4 = libx.mkHost { hostname = "backups-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
piaware-rpi4 = libx.mkHost { hostname = "piaware-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"; };
|
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@framework-server" = libx.mkHome { hostname = "framework-server"; };
|
||||||
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
|
"albert@nuc-server" = libx.mkHome { hostname = "nuc-server"; };
|
||||||
"albert@nixos-desktop" = libx.mkHome { hostname = "nixos-desktop"; desktop = "hyprland"; theme = "tokyo-night"; };
|
"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@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@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"; };
|
"albert@quitman-rpi4" = libx.mkHome { hostname = "quitman-rpi4"; system = "aarch64-linux"; type = "small"; };
|
||||||
|
|
|
@ -93,12 +93,12 @@
|
||||||
# HibernateDelaySec is the amount of time the
|
# HibernateDelaySec is the amount of time the
|
||||||
# system sleeps before entering hibernate when
|
# system sleeps before entering hibernate when
|
||||||
# using suspend-then-hibernate
|
# using suspend-then-hibernate
|
||||||
# systemd.sleep.extraConfig = ''
|
systemd.sleep.extraConfig = ''
|
||||||
# AllowSuspend=yes
|
AllowSuspend=yes
|
||||||
# AllowHibernation=yes
|
AllowHibernation=yes
|
||||||
# AllowSuspendThenHibernate=yes
|
AllowSuspendThenHibernate=yes
|
||||||
# HibernateDelaySec=600
|
HibernateDelaySec=600
|
||||||
# '';
|
'';
|
||||||
|
|
||||||
# XDG portal
|
# XDG portal
|
||||||
xdg.portal.enable = true;
|
xdg.portal.enable = true;
|
||||||
|
|
Loading…
Reference in a new issue