summaryrefslogtreecommitdiffstats
path: root/systems/jontop
diff options
context:
space:
mode:
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, ... }:
-
-{
-}