Added lix to randolph configuration and did minor format changes.
This commit is contained in:
parent
69df407993
commit
7fd4ad7d40
|
|
@ -8,6 +8,7 @@
|
||||||
imports = [ # Include the results of the hardware scan.
|
imports = [ # Include the results of the hardware scan.
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
../../snippets/samba.nix
|
../../snippets/samba.nix
|
||||||
|
../../snippets/lix.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
################################################
|
################################################
|
||||||
|
|
@ -34,8 +35,9 @@
|
||||||
# "amdgpu.dcdebugmask=0x10"
|
# "amdgpu.dcdebugmask=0x10"
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable flakes.
|
nix = {
|
||||||
nix = { settings.experimental-features = [ "nix-command" "flakes" ]; };
|
settings.experimental-features = [ "nix-command" "flakes" ];
|
||||||
|
};
|
||||||
|
|
||||||
# Enable unfree packages.
|
# Enable unfree packages.
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
|
|
@ -178,9 +180,9 @@
|
||||||
# Make sure suspend actually happens
|
# Make sure suspend actually happens
|
||||||
# what this does is set the time it waits before sleeping to 10 (default 30)
|
# 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
|
# default is 30 for, say, if you plug in an external monitor after shutting the lid
|
||||||
services.logind.extraConfig = ''
|
services.logind.settings.Login = {
|
||||||
InhibitDelayMaxSec=10
|
InhibitDelayMaxSec = 10;
|
||||||
'';
|
};
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue