workstation | sync w/ pinetab
This commit is contained in:
parent
1ab8decf21
commit
6b59d19eb7
1 changed files with 26 additions and 13 deletions
|
|
@ -20,21 +20,16 @@ in
|
||||||
};
|
};
|
||||||
gc = {
|
gc = {
|
||||||
automatic = true;
|
automatic = true;
|
||||||
options = "-d";
|
dates = "weekly";
|
||||||
|
options = "--delete-older-than 7d";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./detect-reboot-needed.nix
|
./detect-reboot-needed.nix
|
||||||
./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;
|
||||||
|
|
@ -43,7 +38,7 @@ in
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
|
|
||||||
# Set your time zone.
|
# Set your time zone.
|
||||||
time = {
|
time = {
|
||||||
timeZone = "America/Chicago";
|
timeZone = "America/Chicago";
|
||||||
hardwareClockInLocalTime = false;
|
hardwareClockInLocalTime = false;
|
||||||
};
|
};
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue