-
Notifications
You must be signed in to change notification settings - Fork 0
/
harper.nix
75 lines (59 loc) · 1.66 KB
/
harper.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
{
nixpkgs,
...
}: {
imports = [
./hosts/harper
];
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
boot.initrd.secrets = {
"/crypto_keyfile.bin" = null;
};
boot.initrd.luks.devices."luks-b454198a-f30b-4226-af78-0f408df631d9".device = "/dev/disk/by-uuid/b454198a-f30b-4226-af78-0f408df631d9";
boot.initrd.luks.devices."luks-b454198a-f30b-4226-af78-0f408df631d9".keyFile = "/crypto_keyfile.bin";
time.timeZone = "Europe/Berlin";
system.stateVersion = "23.11";
nixpkgs.config.allowUnfree = true;
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {
LC_ADDRESS = "de_DE.UTF-8";
LC_IDENTIFICATION = "de_DE.UTF-8";
LC_MEASUREMENT = "de_DE.UTF-8";
LC_MONETARY = "de_DE.UTF-8";
LC_NAME = "de_DE.UTF-8";
LC_NUMERIC = "de_DE.UTF-8";
LC_PAPER = "de_DE.UTF-8";
LC_TELEPHONE = "de_DE.UTF-8";
LC_TIME = "de_DE.UTF-8";
};
services.xserver.enable = true;
services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true;
services.gnome.gnome-keyring.enable = true;
services.xserver = {
layout = "de";
xkbVariant = "";
};
console.keyMap = "de";
services.printing.enable = true;
sound.enable = true;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
nix = {
settings = {
experimental-features = ["nix-command" "flakes"];
trusted-users = ["@wheel"];
};
registry.nixpkgs.flake = nixpkgs;
nixPath = [
"nixpkgs=${nixpkgs}"
];
};
}