Compare commits
No commits in common. "0dc7671926b9a8fabcb10bbdbf9ca4319f62212c" and "ddf676d221e25fdc7f7c8be6c774f41419ab6d14" have entirely different histories.
0dc7671926
...
ddf676d221
|
|
@ -14,6 +14,4 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
modules.gpg.signingKey = "0x530DA0331EFE99F5";
|
modules.gpg.signingKey = "0x530DA0331EFE99F5";
|
||||||
modules.gnomeBoxes.enable = true;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,7 +7,6 @@
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./fonts.nix
|
./fonts.nix
|
||||||
./gdm.nix
|
./gdm.nix
|
||||||
./gnomeBoxes.nix
|
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./localsend.nix
|
./localsend.nix
|
||||||
./network.nix
|
./network.nix
|
||||||
|
|
@ -18,7 +17,6 @@
|
||||||
./services.nix
|
./services.nix
|
||||||
./stylix.nix
|
./stylix.nix
|
||||||
./system.nix
|
./system.nix
|
||||||
./tailscale.nix
|
|
||||||
./user.nix
|
./user.nix
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,41 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
username,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.modules.gnomeBoxes;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
virtualisation = {
|
|
||||||
libvirtd = {
|
|
||||||
enable = true;
|
|
||||||
|
|
||||||
# Enable TPM emulation (for Windows 11)
|
|
||||||
qemu = {
|
|
||||||
package = pkgs.qemu_kvm;
|
|
||||||
swtpm.enable = true;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
# Enable USD redirection
|
|
||||||
spiceUSBRedirection.enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
# Allow VM management
|
|
||||||
users.groups.libvirtd.members = [ username ];
|
|
||||||
users.groups.kvm.members = [ username ];
|
|
||||||
|
|
||||||
# Enable VM networking and file sharing
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
gnome-boxes
|
|
||||||
swtpm
|
|
||||||
dnsmasq
|
|
||||||
phodav
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,14 +0,0 @@
|
||||||
{
|
|
||||||
config,
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
let
|
|
||||||
cfg = config.modules.tailscale;
|
|
||||||
in
|
|
||||||
{
|
|
||||||
config = mkIf cfg.enable {
|
|
||||||
services.tailscale.enable = true;
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -5,7 +5,6 @@
|
||||||
imports = [
|
imports = [
|
||||||
./discord.nix
|
./discord.nix
|
||||||
./displayManager.nix
|
./displayManager.nix
|
||||||
./gnomeBoxes.nix
|
|
||||||
./gpg.nix
|
./gpg.nix
|
||||||
./hyprland.nix
|
./hyprland.nix
|
||||||
./localsend.nix
|
./localsend.nix
|
||||||
|
|
@ -13,7 +12,6 @@
|
||||||
./plasma.nix
|
./plasma.nix
|
||||||
./shell.nix
|
./shell.nix
|
||||||
./system.nix
|
./system.nix
|
||||||
./tailscale.nix
|
|
||||||
./zsh.nix
|
./zsh.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
{
|
|
||||||
options.modules.gnomeBoxes = {
|
|
||||||
enable = mkEnableOption {
|
|
||||||
default = false;
|
|
||||||
description = "Enable GNOME Boxes";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -1,13 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
...
|
|
||||||
}:
|
|
||||||
with lib;
|
|
||||||
{
|
|
||||||
options.modules.tailscale = {
|
|
||||||
enable = mkEnableOption {
|
|
||||||
default = false;
|
|
||||||
description = "Enable Tailscale";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
||||||
|
|
@ -25,6 +25,4 @@
|
||||||
modules.pipewire.enable = true;
|
modules.pipewire.enable = true;
|
||||||
|
|
||||||
modules.discord.enable = true;
|
modules.discord.enable = true;
|
||||||
|
|
||||||
modules.tailscale.enable = true;
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue