fixes and improvements

This commit is contained in:
Bart van der Braak 2025-01-18 18:27:41 +01:00
parent 4f6a9c39f7
commit 79de3e1fc2
3 changed files with 2 additions and 6 deletions

View file

@ -89,7 +89,7 @@
# ./modules/theme.nix
# ./modules/time.nix
# ./modules/usb.nix
# ./modules/users.nix
./modules/users.nix
# ./modules/utils.nix
# ./modules/virtualisation.nix
# ./modules/vpn.nix

View file

@ -11,7 +11,7 @@
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" "sdhci_pci" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
boot.extraModulePackages = [ yt6801 ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/c7cf28c3-5744-45cc-8a81-456d24e44b7a";

View file

@ -8,10 +8,6 @@ if [ -L /etc/nixos ] && [ -e /etc/nixos ]; then
exit 0
fi
# Copy hardware configuration
cp /etc/nixos/hardware-configuration.nix "$nixos_home"
echo "Copied generated hardware configuration into $nixos_home"
# Backup current /etc/nixos if it exists
if [ -e /etc/nixos ]; then
mv /etc/nixos /etc/nixos.bak