-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathconfiguration.nix
78 lines (70 loc) · 2.09 KB
/
configuration.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
76
77
78
{ config, pkgs, stablepkgs, hostname, lib, ... }:
{
imports =
[
./configuration/boot.nix
./configuration/x11.nix
./configuration/hardware.nix
./configuration/hosts.nix
./configuration/packages.nix
./configuration/soda.nix
# ./configuration/guest.nix
];
time.timeZone = "America/New_York";
i18n = {
defaultLocale = "en_US.UTF-8";
extraLocaleSettings = {
LC_ADDRESS = "en_US.UTF-8";
LC_IDENTIFICATION = "en_US.UTF-8";
LC_MEASUREMENT = "en_US.UTF-8";
LC_MONETARY = "en_US.UTF-8";
LC_NAME = "en_US.UTF-8";
LC_NUMERIC = "en_US.UTF-8";
LC_PAPER = "en_US.UTF-8";
LC_TELEPHONE = "en_US.UTF-8";
LC_TIME = "en_US.UTF-8";
};
inputMethod = {
enable = true;
type = "fcitx5";
fcitx5 = {
addons = with pkgs; [ fcitx5-hangul fcitx5-anthy ];
waylandFrontend = true;
};
};
};
nix = {
extraOptions = ''
experimental-features = nix-command flakes
builders-use-substitutes = true
'';
settings = {
allowed-users = [
"@wheel"
"soda"
];
trusted-substituters = [
"https://tln32asus.student.cwru.edu:5000/"
"https://hyprland.cachix.org"
];
trusted-public-keys = [
"tln32asus.student.cwru.edu:V8MCTN/ox+Y5GxqFsjAml4IfcUvTacLFIqw48A9Ic/o="
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
trusted-users = [ "soda" ];
"max-jobs" = 8;
"builders" = ''ssh://soda@pigsgomoo.com:2200?ssh-key=/home/soda/.ssh/id_ed25519 i686_linux,x86_64-linux - 8 5 kvm - c3NoLWVkMjU1MTkgQUFBQUMzTnphQzFsWkRJMU5URTVBQUFBSUExd1hDelZSTkt5VHlLUENVYUZBV0xwaFRRdmt1citpUDZMWEszYWRWY0sgcm9vdEBBU1VTCg'';
};
distributedBuilds = true;
gc = {
automatic = true;
dates = "weekly";
options = "--delete-older-than 7d";
};
};
virtualisation = {
libvirtd.enable = true;
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
system.stateVersion = "23.11"; #nixos-rebuild list-generations to see what version I'm on
}