diff --git a/hosts/lemp11/configuration.nix b/hosts/lemp11/configuration.nix deleted file mode 100644 index 224a71d5..00000000 --- a/hosts/lemp11/configuration.nix +++ /dev/null @@ -1,54 +0,0 @@ -{ inputs, pkgs, ... }: - -{ - imports = [ - inputs.agenix.nixosModules.default - inputs.nixos-hardware.nixosModules.common-cpu-intel - inputs.nixos-hardware.nixosModules.common-gpu-intel - inputs.nixos-hardware.nixosModules.common-pc-laptop - inputs.nixos-hardware.nixosModules.common-pc-laptop-hdd - inputs.nixos-hardware.nixosModules.system76 - - ../common - ./hardware-configuration.nix - ./programs.nix - ./services.nix - - ../../users/opdavies.nix - ../../users/eric.nix - ]; - - nixpad.enable = true; - - # Bootloader. - boot = { - loader = { - efi.canTouchEfiVariables = true; - efi.efiSysMountPoint = "/boot/efi"; - - systemd-boot.enable = true; - systemd-boot.configurationLimit = 25; - }; - }; - - systemd.settings.Manager = { - DefaultTimeoutStopSec = "10s"; - }; - - networking.networkmanager.enable = true; - - security = { - polkit.enable = true; - rtkit.enable = true; - }; - - users.users.eric.packages = with pkgs; [ - git - vscodium - ]; - - environment.systemPackages = with pkgs; [ - fastfetch - htop - ]; -} diff --git a/hosts/lemp11/hardware-configuration.nix b/hosts/lemp11/hardware-configuration.nix deleted file mode 100644 index 9cb083b7..00000000 --- a/hosts/lemp11/hardware-configuration.nix +++ /dev/null @@ -1,50 +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, - modulesPath, - ... -}: - -{ - imports = [ (modulesPath + "/installer/scan/not-detected.nix") ]; - - boot.initrd.availableKernelModules = [ - "xhci_pci" - "thunderbolt" - "nvme" - "usb_storage" - "usbhid" - "sd_mod" - "sdhci_pci" - ]; - boot.initrd.kernelModules = [ ]; - boot.kernelModules = [ "kvm-intel" ]; - boot.extraModulePackages = [ ]; - - fileSystems."/" = { - device = "/dev/disk/by-uuid/e577c869-18a1-4830-9e00-124fcabdab89"; - fsType = "ext4"; - }; - - fileSystems."/boot/efi" = { - device = "/dev/disk/by-uuid/48FE-D346"; - fsType = "vfat"; - }; - - swapDevices = [ { device = "/dev/disk/by-uuid/2dce327b-f18d-4727-a9a2-e79d2b5161f9"; } ]; - - # Enables DHCP on each ethernet and wireless interface. In case of scripted networking - # (the default) this is the recommended approach. When using systemd-networkd it's - # still possible to use this option, but it's recommended to use it in conjunction - # with explicit per-interface declarations with `networking.interfaces..useDHCP`. - networking.useDHCP = lib.mkDefault true; - # networking.interfaces.enp0s13f0u1u2u4.useDHCP = lib.mkDefault true; - # networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true; - - nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; - powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; - hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; -} diff --git a/hosts/lemp11/programs.nix b/hosts/lemp11/programs.nix deleted file mode 100644 index 4da8fd00..00000000 --- a/hosts/lemp11/programs.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ - programs = { - firefox = { - enable = true; - - languagePacks = [ "en-GB" ]; - preferences = { - "intl.accept_languages" = "en-GB, en"; - "intl.regional_prefs.use_os_locales" = true; - }; - }; - }; -} diff --git a/hosts/lemp11/services.nix b/hosts/lemp11/services.nix deleted file mode 100644 index 90c3a9f2..00000000 --- a/hosts/lemp11/services.nix +++ /dev/null @@ -1,19 +0,0 @@ -{ - services = { - auto-cpufreq.enable = true; - gvfs.enable = true; - power-profiles-daemon.enable = false; - thermald.enable = true; - printing.enable = true; - pulseaudio.enable = false; - - xserver = { - enable = true; - - xkb = { - layout = "gb"; - variant = ""; - }; - }; - }; -} diff --git a/modules2/hosts/lemp11/imports.nix b/modules2/hosts/lemp11/imports.nix deleted file mode 100644 index 20958001..00000000 --- a/modules2/hosts/lemp11/imports.nix +++ /dev/null @@ -1,7 +0,0 @@ -{ config, ... }: - -{ - flake.modules.nixos."nixosConfigurations/lemp11".imports = with config.flake.modules.nixos; [ - pc - ]; -} diff --git a/modules2/nixos-configurations.nix b/modules2/nixos-configurations.nix index 9c18853a..883af57a 100644 --- a/modules2/nixos-configurations.nix +++ b/modules2/nixos-configurations.nix @@ -38,12 +38,6 @@ in { nixosConfigurations = { - lemp11 = mkNixosConfiguration rec { - hostname = "lemp11"; - - modules = [ config.flake.modules.nixos."nixosConfigurations/${hostname}" ]; - }; - nixedo = mkNixosConfiguration rec { hostname = "nixedo"; stateVersion = "24.11"; diff --git a/secrets.nix b/secrets.nix index 26c9e448..780791b8 100644 --- a/secrets.nix +++ b/secrets.nix @@ -1,6 +1,5 @@ let hosts = { - lemp11 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIEZ+ljJKd6uqdAk+fqxwtObI4Stab2N9Bjo4QFHY/v8n"; nixedo = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage"; t480 = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILvtcGJnc94k6wCPfvK9oBvGey0WWVCR8IYSqg5vqage"; };