Compare commits
2 commits
7574b6bfa4
...
5ed43a4193
| Author | SHA1 | Date | |
|---|---|---|---|
| 5ed43a4193 | |||
| f772e6054e |
2 changed files with 25 additions and 5 deletions
19
flake.nix
19
flake.nix
|
|
@ -191,5 +191,24 @@
|
|||
};
|
||||
|
||||
};
|
||||
|
||||
homeConfigurations = {
|
||||
jufr2 = let
|
||||
username = "jufr2";
|
||||
system = "x86_64-linux";
|
||||
pkgs = nixpkgs.legacyPackages.${system};
|
||||
in
|
||||
home-manager.lib.homeManagerConfiguration {
|
||||
inherit pkgs;
|
||||
|
||||
modules = [
|
||||
home/core.nix
|
||||
home/neovim/default.nix
|
||||
home/zsh/default.nix
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -3,12 +3,13 @@
|
|||
lib,
|
||||
...
|
||||
}: {
|
||||
environment.systemPackages = with pkgs; [
|
||||
virt-manager
|
||||
];
|
||||
|
||||
virtualisation = {
|
||||
libvirtd.enable = true;
|
||||
libvirtd = {
|
||||
enable = true;
|
||||
qemu.swtpm.enable = true;
|
||||
};
|
||||
spiceUSBRedirection.enable = true;
|
||||
};
|
||||
|
||||
programs.virt-manager.enable = true;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue