diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-12-11 12:11:45 +0100 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2020-12-11 12:11:45 +0100 |
commit | 527c96af4ed48111cfa19161fb2680b6866c2594 (patch) | |
tree | 54fc683de97bb5a768598413cebae83553e4f7c1 /hardware-configuration.nix | |
parent | bb668c1bdfb2937e2ca987426aac6cfe1b544fc9 (diff) | |
download | dots-527c96af4ed48111cfa19161fb2680b6866c2594.tar.gz dots-527c96af4ed48111cfa19161fb2680b6866c2594.zip |
Add machines folder
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r-- | hardware-configuration.nix | 33 |
1 files changed, 0 insertions, 33 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix deleted file mode 100644 index 3b34522..0000000 --- a/hardware-configuration.nix +++ /dev/null @@ -1,33 +0,0 @@ -# ThinkPad X220 - -# 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 = - [ <nixpkgs/nixos/modules/installer/scan/not-detected.nix> - ]; - - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" "tp_smapi" ]; - boot.extraModulePackages = with config.boot.kernelPackages; [ tp_smapi ]; - - fileSystems."/" = - { device = "/dev/disk/by-uuid/e00c989b-b3fd-469e-b894-ea609fb4d7fa"; - fsType = "ext4"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/2f0948cd-a0de-41c0-a341-e9fe01460fd3"; - fsType = "ext3"; - }; - - swapDevices = [ { - device = "/dev/sda2"; } ]; - - nix.maxJobs = lib.mkDefault 4; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; -} |