From ed86dbf66e5755267c985b0ebb544c0f3b610e3c Mon Sep 17 00:00:00 2001 From: Crazazy Date: Thu, 3 Feb 2022 18:51:05 +0100 Subject: ignore hardware config It's actually pretty easy to get it back once you remove it --- .gitignore | 1 - hardware-configuration.nix | 64 ---------------------------------------------- 2 files changed, 65 deletions(-) delete mode 100644 hardware-configuration.nix diff --git a/.gitignore b/.gitignore index 23f8c6d..510c462 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ * !.gitignore !*.org -!hardware-configuration.nix diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 8724157..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,64 +0,0 @@ -# Do not modify this file! It was generated by ‘nixos-generate-config’ -# and may be overwritten by future invocations. Please make changes -# to /etc/nixos/configuration.nix instead. -{ config, lib, pkgs, ... }: - -{ - imports = - [ - - ]; - - boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = - { - device = "none"; - fsType = "tmpfs"; - }; - - fileSystems."/nix" = - { - device = "/dev/disk/by-uuid/d93af828-9b06-426a-9247-8b853309d880"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { - device = "/dev/disk/by-uuid/A617-19CF"; - fsType = "vfat"; - }; - - fileSystems."/etc/nixos" = - { - device = "/nix/persist/etc/nixos"; - fsType = "none"; - options = [ "bind" ]; - }; - - fileSystems."/var/log" = - { - device = "/nix/persist/var/log"; - fsType = "none"; - options = [ "bind" ]; - }; - - fileSystems."/etc/NetworkManager" = - { - device = "/nix/persist/etc/NetworkManager"; - fsType = "none"; - options = [ "bind" ]; - }; - - swapDevices = [ - { - label = "swap"; - } - ]; - - nix.maxJobs = lib.mkDefault 8; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; -} -- cgit 1.4.1-2-gfad0