diff --git a/config/config.nix b/config/config.nix index faba432..7362dcb 100644 --- a/config/config.nix +++ b/config/config.nix @@ -31,11 +31,9 @@ in networking.networkmanager.enable = true; # Power button settings - services.logind = { - extraConfig = '' - HandlePowerKey=ignore - HandlePowerKeyLongPress=poweroff - ''; + services.logind.settings.Login = { + HandlePowerKey = "ignore"; + HandlePowerKeyLongPress = "poweroff"; }; # Set your time zone. diff --git a/config/packages.nix b/config/packages.nix index a944673..9bf0da5 100644 --- a/config/packages.nix +++ b/config/packages.nix @@ -14,10 +14,13 @@ in { aspell = aspell.overrideAttrs (super: { postInstall = super.postInstall + '' mkdir -p $out/etc - cat > $out/etc/aspell.conf << EOF - lang en_US - add-extra-dicts en-computers.rws - add-extra-dicts en_US-science.rws + cat >$out/lib/aspell/en_US-custom.multi <$out/etc/aspell.conf <