From 7fd4ad7d4076fc8eafe8ff92b8f76179d1f6f555 Mon Sep 17 00:00:00 2001 From: vorboyvo Date: Tue, 23 Sep 2025 17:48:01 -0400 Subject: [PATCH] Added lix to randolph configuration and did minor format changes. --- hosts/randolph/configuration.nix | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/hosts/randolph/configuration.nix b/hosts/randolph/configuration.nix index 4a46556..9511335 100644 --- a/hosts/randolph/configuration.nix +++ b/hosts/randolph/configuration.nix @@ -8,6 +8,7 @@ imports = [ # Include the results of the hardware scan. ./hardware-configuration.nix ../../snippets/samba.nix + ../../snippets/lix.nix ]; ################################################ @@ -34,8 +35,9 @@ # "amdgpu.dcdebugmask=0x10" ]; - # Enable flakes. - nix = { settings.experimental-features = [ "nix-command" "flakes" ]; }; + nix = { + settings.experimental-features = [ "nix-command" "flakes" ]; + }; # Enable unfree packages. nixpkgs.config.allowUnfree = true; @@ -178,9 +180,9 @@ # Make sure suspend actually happens # what this does is set the time it waits before sleeping to 10 (default 30) # default is 30 for, say, if you plug in an external monitor after shutting the lid - services.logind.extraConfig = '' - InhibitDelayMaxSec=10 - ''; + services.logind.settings.Login = { + InhibitDelayMaxSec = 10; + }; # List packages installed in system profile. To search, run: # $ nix search wget