blob: a5dca4e2abf7ba6c64adee81f6e2f5ee8f431040 (
plain)
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
79
80
81
|
{ inputs, flake, pkgs, perSystem, ... }:
let
inherit (inputs.nixos-hardware.nixosModules)
common-cpu-amd
common-gpu-amd
;
inherit (import flake.outputs.nixosModules.users { inherit perSystem pkgs; })
kle;
in
{
imports = [
common-cpu-amd
common-gpu-amd
flake.outputs.nixosModules.disk
flake.outputs.nixosModules.desktop
];
nixpkgs.hostPlatform = "x86_64-linux";
system.stateVersion = "24.11";
users.users.kle = kle;
xnet = {
net = {
interface = "enp5s0";
join = [ "plaza" ];
sshd.enable = true;
};
disk = {
enable = true;
device = "/dev/nvme0n1";
};
};
networking.hostName = "t1";
programs = {
steam.enable = true;
steam.extraCompatPackages = [ pkgs.proton-ge-bin ];
corectrl = {
enable = true;
gpuOverclock.enable = true;
};
};
fileSystems = {
"/mnt/media" = {
device = "radon:/radon/media";
fsType = "nfs";
options = [ "noauto" "x-systemd.automount" "x-systemd.idle-timeout=600" ];
};
"/mnt/gammix" = {
device = "/dev/disk/by-uuid/bbbb4579-fac9-412e-a831-3034f7d27e04";
fsType = "ext4";
options = [ "users" "nofail" "noatime" ];
};
"/var" = {
device = "zroot/local/var";
fsType = "zfs";
};
};
services = {
trezord.enable = true;
guix.enable = true;
};
services.udev.packages = [ pkgs.ddcutil ];
environment.shellAliases.b = "${pkgs.ddcutil}/bin/ddcutil setvcp 10";
boot.kernelModules = [ "i2c-dev" ];
environment.systemPackages = with pkgs; [
ddcutil
prismlauncher
spotify
runelite
];
}
|