Fix impermanence vm

This commit is contained in:
caem 2023-06-24 20:56:54 +02:00
parent a1c5c3b291
commit fb414ef491
9 changed files with 59 additions and 47 deletions

View file

@ -10,16 +10,15 @@
};
outputs = { self, nixpkgs, ... }@attrs: let
user = import ./username.nix;
user = "user"; # Select user from `./users` directory
in {
# Debugging VM configuration
nixosConfigurations.qemu-vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = attrs;
modules = [
./users/${user}.nix
./common.nix
./systems/qemu-vm.nix
./systems/hardware/qemu-vm.nix
];
};
};