aboutsummaryrefslogtreecommitdiff
path: root/machines/nixos/x86_64-linux/argonath.nix
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2025-11-21 12:44:14 -0800
committerFranck Cuny <franck@fcuny.net>2025-11-21 12:44:14 -0800
commit24d00bf980e8f99c9056a6f1e9cb6354173bfd7e (patch)
treea2ecbfc804dcbaf6332571f42bcb82a68529ba9d /machines/nixos/x86_64-linux/argonath.nix
parentmove acme configurations to a profile (diff)
downloadinfra-24d00bf980e8f99c9056a6f1e9cb6354173bfd7e.tar.gz
add new host: argonath
Diffstat (limited to '')
-rw-r--r--machines/nixos/x86_64-linux/argonath.nix26
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
+ ];
+ };
+ };
+}