logind moved into other file
This commit is contained in:
parent
2429f0d2a4
commit
cb4d3805e8
@ -14,7 +14,6 @@
|
||||
];
|
||||
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
programs.nix-ld.dev.enable = true;
|
||||
|
||||
# Home manager
|
||||
home-manager = {
|
||||
@ -76,11 +75,7 @@
|
||||
programs.kdeconnect.enable = true;
|
||||
programs.wireshark.enable = true;
|
||||
programs.auto-cpufreq.enable = true;
|
||||
|
||||
services.logind.extraConfig = ''
|
||||
# don’t shutdown when power button is short-pressed
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
programs.nix-ld.dev.enable = true;
|
||||
|
||||
environment.systemPackages = [inputs.ghostty.packages.x86_64-linux.default];
|
||||
|
||||
|
||||
5
nixos/system/settings/logind.nix
Normal file
5
nixos/system/settings/logind.nix
Normal file
@ -0,0 +1,5 @@
|
||||
{...}: {
|
||||
services.logind.extraConfig = ''
|
||||
HandlePowerKey=ignore
|
||||
'';
|
||||
}
|
||||
@ -15,6 +15,7 @@
|
||||
./settings/loginManager.nix
|
||||
./settings/style.nix
|
||||
./settings/default-applications.nix
|
||||
./settings/logind.nix
|
||||
#./settings/bootloader.nix
|
||||
|
||||
./settings/user.nix
|
||||
|
||||
Loading…
Reference in New Issue
Block a user