From 5897af1a6c355f77c78f342d1d6f070670d14a4c Mon Sep 17 00:00:00 2001 From: Jon Santmyer Date: Sat, 14 Oct 2023 10:53:18 -0400 Subject: remove redundant system folder. add useful programs. --- systems/jontop/default.nix | 32 ------------------------------- systems/jontop/filesystem.nix | 16 ---------------- systems/jontop/hardware-configuration.nix | 7 ------- 3 files changed, 55 deletions(-) delete mode 100644 systems/jontop/default.nix delete mode 100644 systems/jontop/filesystem.nix delete mode 100644 systems/jontop/hardware-configuration.nix (limited to 'systems/jontop') diff --git a/systems/jontop/default.nix b/systems/jontop/default.nix deleted file mode 100644 index 43ffcea..0000000 --- a/systems/jontop/default.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ inputs, config, lib, modulesPath, pkgs, ... }: - -{ - imports = - [ # Include the results of the hardware scan. - (modulesPath + "/installer/scan/not-detected.nix") - inputs.nixos-hardware.nixosModules.lenovo-thinkpad-x220 - ./filesystem.nix - ]; - - boot.loader.systemd-boot.enable = true; - boot.loader.efi.canTouchEfiVariables = true; - - boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usb_storage" "sd_mod" "sdhci_pci" ]; - boot.initrd.kernelModules = [ "i915" ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - hardware.opengl = { - enable = true; - }; - - hardware.bluetooth.enable = true; - services.blueman.enable = true; - - programs.light.enable = true; - - services.fstrim.enable = true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/systems/jontop/filesystem.nix b/systems/jontop/filesystem.nix deleted file mode 100644 index 5117680..0000000 --- a/systems/jontop/filesystem.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ ... }: -{ - fileSystems."/" = - { device = "/dev/disk/by-uuid/72e455f9-4b10-4cb2-a8e4-cfe39c4a8d1f"; - fsType = "btrfs"; - }; - - fileSystems."/boot" = - { device = "/dev/disk/by-uuid/27F7-4AFD"; - fsType = "vfat"; - }; - - swapDevices = - [ { device = "/dev/disk/by-uuid/4133a381-ab7d-4a25-9013-3f4b2d31bc5a"; } - ]; -} diff --git a/systems/jontop/hardware-configuration.nix b/systems/jontop/hardware-configuration.nix deleted file mode 100644 index 62427e0..0000000 --- a/systems/jontop/hardware-configuration.nix +++ /dev/null @@ -1,7 +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, modulesPath, ... }: - -{ -} -- cgit v1.2.1