summaryrefslogtreecommitdiffstats
path: root/systems/jontop
diff options
context:
space:
mode:
authorJon Santmyer <jon@jonsantmyer.com>2023-10-14 10:53:18 -0400
committerJon Santmyer <jon@jonsantmyer.com>2023-10-14 10:53:18 -0400
commit5897af1a6c355f77c78f342d1d6f070670d14a4c (patch)
treeceacea8620f7a4f5b684837f8019244933286864 /systems/jontop
parent972bff32235bbd414cbbaba5ac3eeb7979c2bad6 (diff)
downloadnix-config-5897af1a6c355f77c78f342d1d6f070670d14a4c.tar.gz
nix-config-5897af1a6c355f77c78f342d1d6f070670d14a4c.tar.bz2
nix-config-5897af1a6c355f77c78f342d1d6f070670d14a4c.zip
remove redundant system folder. add useful programs.
Diffstat (limited to 'systems/jontop')
-rw-r--r--systems/jontop/default.nix32
-rw-r--r--systems/jontop/filesystem.nix16
-rw-r--r--systems/jontop/hardware-configuration.nix7
3 files changed, 0 insertions, 55 deletions
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, ... }:
-
-{
-}