mirror of
https://github.com/bartvdbraak/dotfiles.git
synced 2025-04-27 06:31:20 +00:00
fixes and improvements
This commit is contained in:
parent
4f6a9c39f7
commit
79de3e1fc2
3 changed files with 2 additions and 6 deletions
|
@ -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
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue