-
Notifications
You must be signed in to change notification settings - Fork 0
/
system.nix
48 lines (40 loc) · 797 Bytes
/
system.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
{ config, pkgs, ... }: {
#UEFI
boot.loader = {
systemd-boot.enable = true;
timeout = 5;
efi = {
canTouchEfiVariables = true;
efiSysMountPoint = "/boot";
};
};
#BIOS
#boot.loader = {
#timeout = 5;
#grub = {
# enable = true;
# device = "/dev/sdX"; # replace with your disk
# };
#};
system = {
stateVersion = "24.05";
copySystemConfiguration = true;
autoUpgrade.enable = false;
autoUpgrade.allowReboot = false;
};
nix.gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 30d";
};
time.timeZone = "Europe/Berlin";
i18n.defaultLocale = "en_US.UTF-8";
console = {
font = "iso10.16";
keyMap = "de";
};
environment.systemPackages = with pkgs; [
rsync
msmtp
];
}