last nixos
This commit is contained in:
+18
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user