last nixos

This commit is contained in:
supa
2026-08-14 01:01:55 -05:00
parent c5f997c4fe
commit d9214ffabd
4 changed files with 61 additions and 11 deletions
+18 -5
View File
@@ -14,16 +14,23 @@
}) ];
nix.package = pkgs.lixPackageSets.stable.lix;
imports =
[
./hardware-configuration.nix
./pkg.nix
./services.nix
];
programs.nix-ld.libraries = with pkgs; [
fontconfig
wayland
libx11
libxcursor
libxext
libxi
];
boot.loader.systemd-boot.enable = true;
networking.hostName = "f1ndm3";
@@ -34,7 +41,7 @@
users.users.supa = {
isNormalUser = true;
extraGroups = [ "wheel" ];
extraGroups = [ "wheel" "libvirtd" ];
};
users.defaultUserShell = pkgs.bash;
@@ -45,12 +52,18 @@
hardware.graphics.enable = true;
hardware.nvidia.open = true;
# firewall
networking.firewall.allowedTCPPorts = [ ];
networking.firewall.allowedUDPPorts = [ ];
networking.firewall.enable = true;
# virtualisation
virtualisation.libvirtd.enable = true;
virtualisation.spiceUSBRedirection.enable = true;
# Copy the NixOS configuration file and link it from the resulting system
# (/run/current-system/configuration.nix). This is useful in case you