-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathjuly.nix
48 lines (39 loc) · 842 Bytes
/
july.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
{
modulesPath,
lib,
disko,
nixpkgs,
pkgs,
...
}: {
imports = [
"${modulesPath}/profiles/qemu-guest.nix"
"${modulesPath}/profiles/headless.nix"
disko.nixosModules.default
./hosts/july
];
environment.systemPackages = with pkgs; [
git
htop
dig
];
boot.loader.grub.devices = ["/dev/vda"];
boot.kernel.sysctl."vm.overcommit_memory" = lib.mkForce "1";
disko.devices = import ./hosts/july/disk-config.nix {
inherit lib;
};
time.timeZone = "Europe/Berlin";
system.stateVersion = "23.11";
nixpkgs.config.allowUnfree = true;
nix = {
settings = {
experimental-features = ["nix-command" "flakes"];
trusted-users = ["@wheel"];
};
registry.nixpkgs.flake = nixpkgs;
nixPath = [
"nixpkgs=${nixpkgs}"
];
};
programs.nix-ld.enable = true;
}