diff options
author | Franck Cuny <franck@fcuny.net> | 2024-11-17 11:16:44 -0800 |
---|---|---|
committer | Franck Cuny <franck@fcuny.net> | 2024-11-17 11:16:44 -0800 |
commit | 357fbda2bb2400a52f8dec61b66342b92fa945ae (patch) | |
tree | b81c4ea017372f086963094903a01ac5e56a98ef /nix/hosts/nixos/vm | |
parent | install font dejavu (diff) | |
download | world-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 |
2 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 |