Compare commits

..

No commits in common. "9b43543d473bcb96ff3283a278a80169c820efa2" and "cd76e38131ac356609c2063ac1dbe2425b424382" have entirely different histories.

4 changed files with 12 additions and 37 deletions

24
flake.lock generated
View file

@ -374,11 +374,11 @@
]
},
"locked": {
"lastModified": 1736508663,
"narHash": "sha256-ZOaGwa+WnB7Zn3YXimqjmIugAnHePdXCmNu+AHkq808=",
"lastModified": 1736089250,
"narHash": "sha256-/LPWMiiJGPHGd7ZYEgmbE2da4zvBW0acmshUjYC3WG4=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "2532b500c3ed2b8940e831039dcec5a5ea093afc",
"rev": "172b91bfb2b7f5c4a8c6ceac29fd53a01ef07196",
"type": "github"
},
"original": {
@ -520,11 +520,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1736344531,
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"lastModified": 1736012469,
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"type": "github"
},
"original": {
@ -552,11 +552,11 @@
},
"nixpkgs_2": {
"locked": {
"lastModified": 1736344531,
"narHash": "sha256-8YVQ9ZbSfuUk2bUf2KRj60NRraLPKPS0Q4QFTbc+c2c=",
"lastModified": 1736012469,
"narHash": "sha256-/qlNWm/IEVVH7GfgAIyP6EsVZI6zjAx1cV5zNyrs+rI=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "bffc22eb12172e6db3c5dde9e3e5628f8e3e7912",
"rev": "8f3e1f807051e32d8c95cd12b9b421623850a34d",
"type": "github"
},
"original": {
@ -589,11 +589,11 @@
"treefmt-nix": "treefmt-nix"
},
"locked": {
"lastModified": 1736603226,
"narHash": "sha256-rhuIy37Bzd8MVrGnf0DdFfI6cKoVTacvw778nYI3/0o=",
"lastModified": 1736195583,
"narHash": "sha256-o9X/eAJGvUiqs4eP3zp9WQgnuvXaPNxcgy4ww+TrHvw=",
"owner": "nix-community",
"repo": "NUR",
"rev": "1e53e9bc8629392eb07c7903657b3cf3a65964c1",
"rev": "ee2a092b4b4a2dd676d28c7228474e530622a79e",
"type": "github"
},
"original": {

View file

@ -34,7 +34,6 @@
apps = {
flatpak.enable = true;
steam.enable = true;
qemu.enable = true;
};
desktop = {

View file

@ -3,7 +3,6 @@
{
imports = [
./flatpak
./qemu
./steam
];
}

View file

@ -1,23 +0,0 @@
{ config, pkgs, lib, ... }:
with lib;
let
cfg = config.modules.system.apps.qemu;
in
{
options.modules.system.apps.qemu = {
enable = mkEnableOption ''
Enable qemu with my custom configurations
'';
};
config = mkIf cfg.enable {
programs.virt-manager.enable = true;
users.groups.libvirtd.members = ["florian"];
users.users.florian.extraGroups = [ "libvirtd" ];
virtualisation.libvirtd.enable = true;
virtualisation.spiceUSBRedirection.enable = true;
};
}