about summary refs log tree commit diff
path: root/users/wpcarro/nixos
diff options
context:
space:
mode:
Diffstat (limited to 'users/wpcarro/nixos')
-rw-r--r--users/wpcarro/nixos/default.nix4
-rw-r--r--users/wpcarro/nixos/diogenes/default.nix (renamed from users/wpcarro/nixos/diogenes/configuration.nix)8
2 files changed, 8 insertions, 4 deletions
diff --git a/users/wpcarro/nixos/default.nix b/users/wpcarro/nixos/default.nix
index 693cbd9ac154..15de8c0e113c 100644
--- a/users/wpcarro/nixos/default.nix
+++ b/users/wpcarro/nixos/default.nix
@@ -2,6 +2,8 @@
 
 let systemFor = sys: (depot.ops.nixos.nixosFor sys).system;
 in {
+  diogenesSystem = systemFor depot.users.wpcarro.nixos.diogenes;
   marcusSystem = systemFor depot.users.wpcarro.nixos.marcus;
-  meta.targets = [ "marcusSystem" ];
+
+  meta.targets = [ "diogenesSystem" "marcusSystem" ];
 }
diff --git a/users/wpcarro/nixos/diogenes/configuration.nix b/users/wpcarro/nixos/diogenes/default.nix
index afdefce58855..076261eb5026 100644
--- a/users/wpcarro/nixos/diogenes/configuration.nix
+++ b/users/wpcarro/nixos/diogenes/default.nix
@@ -1,19 +1,21 @@
 { depot, pkgs, ... }:
+{ ... }:
 
 let
   inherit (depot.users.wpcarro) keys;
 in {
   imports = [
-    "${depot.path}/ops/modules/tvl.nix"
-    "${pkgs.path}/nixos/modules/virtualisation/google-compute-image.nix"
+    (pkgs.path + "/nixos/modules/virtualisation/google-compute-image.nix")
   ];
 
+  networking.hostName = "diogenes";
+
   # Use the TVL binary cache
   tvl.cache.enable = true;
 
   # Use 100G volume for /nix
   fileSystems."/nix" = {
-    device = "/dev/disk/by-uuid/5a65f6c2-7d55-414d-b693-1928480c9b96";
+    device = "/dev/disk/by-uuid/62396bde-9002-4025-83eb-2a6c731b7adc";
     fsType = "ext4";
   };