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 = {
|
||||
automatic = true;
|
||||
options = "-d";
|
||||
dates = "weekly";
|
||||
options = "--delete-older-than 7d";
|
||||
};
|
||||
};
|
||||
imports =
|
||||
imports =
|
||||
[
|
||||
./detect-reboot-needed.nix
|
||||
./systemd.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
|
||||
networking.networkmanager.enable = true;
|
||||
|
|
@ -43,7 +38,7 @@ in
|
|||
networking.useDHCP = false;
|
||||
|
||||
# Set your time zone.
|
||||
time = {
|
||||
time = {
|
||||
timeZone = "America/Chicago";
|
||||
hardwareClockInLocalTime = false;
|
||||
};
|
||||
|
|
@ -59,9 +54,27 @@ in
|
|||
];
|
||||
};
|
||||
|
||||
# Splash screen
|
||||
boot.plymouth.enable = true;
|
||||
boot.plymouth.theme = "breeze";
|
||||
# Bootloader.
|
||||
boot = {
|
||||
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 = {
|
||||
polkit = {
|
||||
|
|
@ -252,7 +265,7 @@ in
|
|||
auth = true;
|
||||
tls = true;
|
||||
port = 587;
|
||||
from = "don@donharper.org";
|
||||
from = "duck@duckland.org";
|
||||
host = "smtp.gmail.com";
|
||||
user = "duckunix@gmail.com";
|
||||
passwordeval = "cat /home/don/.smtp_password.txt";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue