CLEAN: nix develop

This commit is contained in:
DuN0z 2025-10-05 08:20:57 +02:00
parent daeb15f821
commit c495445e91
22 changed files with 439 additions and 423 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ...}: {
{pkgs, ...}: {
fonts.packages = with pkgs; [
dejavu_fonts
];

View file

@ -1,8 +1,8 @@
_: {
networking = {
nameservers = ["1.1.1.1" "8.8.8.8"];
# dhcpcd.extraConfig = "nohook resolv.conf";
# dhcpcd.extraConfig = "nohook resolv.conf";
firewall.enable = true;
interfaces.enp11s0.wakeOnLan.enable = true ;
interfaces.enp11s0.wakeOnLan.enable = true;
};
}

View file

@ -5,7 +5,7 @@
};
nixpkgs.config = {
# allowUnfree = true;
# allowUnsupportedSystem = true;
# allowUnfree = true;
# allowUnsupportedSystem = true;
};
}

View file

@ -1,7 +1,7 @@
{
lib,
pkgs,
config,
config,
...
}: {
boot.kernelModules = lib.mkAfter ["tun"];
@ -22,21 +22,20 @@
virtualisation.libvirtd = {
enable = true;
qemu =
qemu =
if lib.versionOlder config.system.nixos.release "25.11"
then {
ovmf.enable = true;
ovmf.packages = [pkgs.OVMFFull.fd];
runAsRoot = false;
swtpm.enable = true;
} else {
}
else {
runAsRoot = false;
swtpm.enable = true;
};
};
};
users.users.lomig.extraGroups = ["libvirtd" "kvm" "input"];
environment.etc."qemu/bridge.conf".text = ''
@ -47,7 +46,7 @@
source = "${pkgs.qemu}/libexec/qemu-bridge-helper";
owner = "root";
group = "kvm";
setuid = true ;
setuid = true;
permissions = "u+rwx,g+rx,o+rx";
};
}