From 46437cd2f0e443c9ec0f986ed7d67cff8305d0b2 Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Mon, 25 Mar 2024 22:02:30 +0100 Subject: [PATCH] configurations --- home-manager/gnome.nix | 1 + nixos/configuration.nix | 32 ++++++++++++++++---------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/home-manager/gnome.nix b/home-manager/gnome.nix index b72ad34..c8138a2 100644 --- a/home-manager/gnome.nix +++ b/home-manager/gnome.nix @@ -75,6 +75,7 @@ "org/gnome/settings-daemon/plugins/power" = { power-button-action = "nothing"; + sleep-inactive-ac-type = "nothing"; }; "org/gnome/mutter" = { diff --git a/nixos/configuration.nix b/nixos/configuration.nix index 41e7b27..f2936d0 100644 --- a/nixos/configuration.nix +++ b/nixos/configuration.nix @@ -136,22 +136,22 @@ services.xserver.displayManager.gdm.enable = true; boot.loader.systemd-boot.enable = true; - systemd.timers."update-config" = { - wantedBy = [ "timers.target" ]; - timerConfig = { - OnBootSec = "1m"; - Unit = "update-config.service"; - }; - }; - - systemd.services."update-config" = { - script = '' - ''; - serviceConfig = { - Type = "oneshot"; - User = "root"; - }; - }; +# systemd.timers."update-config" = { +# wantedBy = [ "timers.target" ]; +# timerConfig = { +# OnBootSec = "1m"; +# Unit = "update-config.service"; +# }; +# }; +# +# systemd.services."update-config" = { +# script = '' +# ''; +# serviceConfig = { +# Type = "oneshot"; +# User = "root"; +# }; +# }; # TODO: Configure your system-wide user settings (groups, etc), add more users as needed.