From 20983584814e143eb2592860bc298a5b3ffe9f3c Mon Sep 17 00:00:00 2001 From: iFargle Date: Sun, 17 Sep 2023 17:13:54 +0900 Subject: [PATCH] Add a generic VM --- flake.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/flake.nix b/flake.nix index c0e1adb0..24226cf3 100644 --- a/flake.nix +++ b/flake.nix @@ -21,7 +21,9 @@ nixosConfigurations = { # Generic Images / ISOs nixos-rpi4-img = libx.mkHost { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; installer = nixpkgs + "/nixos/modules/installer/sd-card/sd-image-aarch64.nix"; }; - # Host Specific Configs + # Virtual Machines + nixos-vm-01 = libx.mkHost { hostname = "nixos-vm-01"; }; + # Physical Machines nixos-laptop = libx.mkHost { hostname = "nixos-laptop"; desktop = "hyprland"; gpu = "intel"; theme = "gruvbox"; }; nixos-framework = libx.mkHost { hostname = "nixos-framework"; desktop = "hyprland"; gpu = "amd"; theme = "gruvbox"; }; nixos-rpi4-01 = libx.mkHost { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; }; @@ -31,7 +33,9 @@ homeConfigurations = { # Generic Images / ISOs "albert@nixos-rpi4-img" = libx.mkHome { hostname = "nixos-rpi4-img"; platform = "aarch64-linux"; }; - # Host Specific Configs + # Virtual Machines + "albert@nixos-vm-01" = lix.mkHome { hostname = "nixos-vm-01"; }; + # Physical Machines "albert@nixos-laptop" = libx.mkHome { hostname = "nixos-laptop"; desktop = "hyprland"; theme = "gruvbox"; }; "albert@nixos-framework" = libx.mkHome { hostname = "nixos-framework"; desktop = "hyprland"; theme = "gruvbox"; }; "albert@nixos-rpi4-01" = libx.mkHome { hostname = "nixos-rpi4-01"; platform = "aarch64-linux"; };