/sys/machines -> /hosts

This commit is contained in:
xunuwu 2025-06-06 11:22:15 +02:00
parent 2c475dd099
commit 9c9a3d543c
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
38 changed files with 2 additions and 2 deletions

71
hosts/hopper/default.nix Normal file
View file

@ -0,0 +1,71 @@
{
inputs,
systemProfiles,
specialArgs,
lib,
...
}: {
imports =
[
inputs.hardware.nixosModules.common-cpu-intel
inputs.vpn-confinement.nixosModules.default
inputs.nix-minecraft.nixosModules.minecraft-servers
inputs.impermanence.nixosModules.impermanence
./hardware.nix
./lab
./roblox-playtime.nix
./desktop.nix
./persistent.nix
{
home-manager = {
backupFileExtension = "hm-backup";
users.desktop.imports = [
./home.nix
{home.stateVersion = "24.11";}
];
extraSpecialArgs = specialArgs;
};
}
]
++ (map (x: systemProfiles + x) [
/programs/home-manager.nix
/core/security.nix
/core/locale.nix
/core/tools.nix
/core/ssh.nix
/core/deploy.nix
/hardware/graphics.nix
/hardware/steam-hardware.nix
/hardware/bluetooth.nix
/nix/default.nix # TODO slim this down
/nix/gc.nix
/network/tailscale.nix
/network/avahi.nix
/network/networkd.nix
]);
nixpkgs.config = {
allowUnfreePredicate = pkg:
builtins.elem (lib.getName pkg) [
"nvidia-x11"
"nvidia-settings"
"stremio-shell"
"stremio-server"
];
};
networking.hostName = "hopper";
swapDevices = [];
networking.interfaces.eno1.wakeOnLan.enable = true;
system.stateVersion = "23.11";
}