diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-11-21 12:44:14 -0800 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-11-21 12:44:14 -0800 |
| commit | 24d00bf980e8f99c9056a6f1e9cb6354173bfd7e (patch) | |
| tree | a2ecbfc804dcbaf6332571f42bcb82a68529ba9d /machines/nixos/x86_64-linux | |
| parent | move acme configurations to a profile (diff) | |
| download | infra-24d00bf980e8f99c9056a6f1e9cb6354173bfd7e.tar.gz | |
add new host: argonath
Diffstat (limited to '')
| -rw-r--r-- | machines/nixos/x86_64-linux/argonath.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/machines/nixos/x86_64-linux/argonath.nix b/machines/nixos/x86_64-linux/argonath.nix new file mode 100644 index 0000000..eb08896 --- /dev/null +++ b/machines/nixos/x86_64-linux/argonath.nix @@ -0,0 +1,26 @@ +{ lib, adminUser, ... }: +{ + imports = [ + ../../../profiles/cgroups.nix + ../../../profiles/defaults.nix + ../../../profiles/hardware/do-droplet.nix + ../../../profiles/disk/basic-vm.nix + ../../../profiles/home-manager.nix + ../../../profiles/server.nix + ]; + + # fixes duplicated devices in mirroredBoots + boot.loader.grub.devices = lib.mkForce [ "/dev/vda" ]; + + disko.devices.disk.disk1.device = "/dev/vda"; + + system.stateVersion = "25.05"; # Did you read the comment? + + home-manager = { + users.${adminUser.name} = { + imports = [ + ../../../home/profiles/minimal.nix + ]; + }; + }; +} |
