workstation | sync w/ pinetab

This commit is contained in:
Don Harper 2023-12-25 17:15:37 -06:00
parent 1ab8decf21
commit 6b59d19eb7

View file

@ -20,7 +20,8 @@ in
}; };
gc = { gc = {
automatic = true; automatic = true;
options = "-d"; dates = "weekly";
options = "--delete-older-than 7d";
}; };
}; };
imports = imports =
@ -29,12 +30,6 @@ in
./systemd.nix ./systemd.nix
./upgrade-diff.nix ./upgrade-diff.nix
]; ];
# Bootloader.
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.loader.efi.efiSysMountPoint = "/boot";
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.kernelParams = [ "consoleblank=60" ];
# Enable networking # Enable networking
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
@ -59,9 +54,27 @@ in
]; ];
}; };
# Splash screen # Bootloader.
boot.plymouth.enable = true; boot = {
boot.plymouth.theme = "breeze"; kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ "consoleblank=60" ];
loader = {
systemd-boot = {
enable = true;
};
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
plymouth = {
enable = true;
theme = "breeze";
};
kernel = {
sysctl = { "vm.swappiness" = 10;};
};
};
security = { security = {
polkit = { polkit = {
@ -252,7 +265,7 @@ in
auth = true; auth = true;
tls = true; tls = true;
port = 587; port = 587;
from = "don@donharper.org"; from = "duck@duckland.org";
host = "smtp.gmail.com"; host = "smtp.gmail.com";
user = "duckunix@gmail.com"; user = "duckunix@gmail.com";
passwordeval = "cat /home/don/.smtp_password.txt"; passwordeval = "cat /home/don/.smtp_password.txt";