about summary refs log tree commit diff
path: root/nix/hosts/nixos
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-11-17 11:16:44 -0800
committerFranck Cuny <franck@fcuny.net>2024-11-17 11:16:44 -0800
commit357fbda2bb2400a52f8dec61b66342b92fa945ae (patch)
treeb81c4ea017372f086963094903a01ac5e56a98ef /nix/hosts/nixos
parentinstall font dejavu (diff)
downloadworld-357fbda2bb2400a52f8dec61b66342b92fa945ae.tar.gz
move machine configurations under darwin and nixos
Don't manage fonts on Darwin with homebrew.
Diffstat (limited to '')
-rw-r--r--nix/hosts/nixos/vm/default.nix (renamed from nix/hosts/vm/default.nix)16
-rw-r--r--nix/hosts/nixos/vm/hardware.nix (renamed from nix/hosts/vm/hardware.nix)0
-rw-r--r--nix/hosts/nixos/wildcat/configuration.nix (renamed from nix/hosts/wildcat/configuration.nix)0
-rw-r--r--nix/hosts/nixos/wildcat/default.nix (renamed from nix/hosts/wildcat/default.nix)0
-rw-r--r--nix/hosts/nixos/wildcat/hardware.nix (renamed from nix/hosts/wildcat/hardware.nix)0
-rw-r--r--nix/hosts/nixos/wildcat/networking.nix (renamed from nix/hosts/wildcat/networking.nix)0
6 files changed, 3 insertions, 13 deletions
diff --git a/nix/hosts/vm/default.nix b/nix/hosts/nixos/vm/default.nix
index a6dff3a..f4a51aa 100644
--- a/nix/hosts/vm/default.nix
+++ b/nix/hosts/nixos/vm/default.nix
@@ -1,7 +1,5 @@
-{ pkgs, ... }: {
-  imports = [
-    ./hardware.nix
-  ];
+{ ... }: {
+  imports = [ ./hardware.nix ];
 
   boot.tmp.cleanOnBoot = true;
   zramSwap.enable = false;
@@ -14,16 +12,8 @@
   services.openssh.enable = true;
 
   users.users.root.openssh.authorizedKeys.keys = [
-    ''ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi''
+    "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINBkozy+X96u5ciX766bJ/AyQ3xm1tXZTIr5+4PVFZFi"
   ];
 
   system.stateVersion = "23.11";
-
-  environment = {
-    systemPackages = with pkgs; [
-      git
-      jq
-      vim
-    ];
-  };
 }
diff --git a/nix/hosts/vm/hardware.nix b/nix/hosts/nixos/vm/hardware.nix
index 89c3d8b..89c3d8b 100644
--- a/nix/hosts/vm/hardware.nix
+++ b/nix/hosts/nixos/vm/hardware.nix
diff --git a/nix/hosts/wildcat/configuration.nix b/nix/hosts/nixos/wildcat/configuration.nix
index b74f522..b74f522 100644
--- a/nix/hosts/wildcat/configuration.nix
+++ b/nix/hosts/nixos/wildcat/configuration.nix
diff --git a/nix/hosts/wildcat/default.nix b/nix/hosts/nixos/wildcat/default.nix
index 7bde471..7bde471 100644
--- a/nix/hosts/wildcat/default.nix
+++ b/nix/hosts/nixos/wildcat/default.nix
diff --git a/nix/hosts/wildcat/hardware.nix b/nix/hosts/nixos/wildcat/hardware.nix
index 351c991..351c991 100644
--- a/nix/hosts/wildcat/hardware.nix
+++ b/nix/hosts/nixos/wildcat/hardware.nix
diff --git a/nix/hosts/wildcat/networking.nix b/nix/hosts/nixos/wildcat/networking.nix
index c0b4bd0..c0b4bd0 100644
--- a/nix/hosts/wildcat/networking.nix
+++ b/nix/hosts/nixos/wildcat/networking.nix