diff --git a/flake.lock b/flake.lock index 583690b..a6cf154 100644 --- a/flake.lock +++ b/flake.lock @@ -293,20 +293,6 @@ "type": "github" } }, - "nixos-hardware": { - "locked": { - "lastModified": 1699997707, - "narHash": "sha256-ugb+1TGoOqqiy3axyEZpfF6T4DQUGjfWZ3Htry1EfvI=", - "owner": "NixOS", - "repo": "nixos-hardware", - "rev": "5689f3ebf899f644a1aabe8774d4f37eb2f6c2f9", - "type": "github" - }, - "original": { - "id": "nixos-hardware", - "type": "indirect" - } - }, "nixpkgs": { "locked": { "lastModified": 1700204040, @@ -432,7 +418,6 @@ "lanzaboote": "lanzaboote", "nix-colors": "nix-colors", "nix-index-database": "nix-index-database", - "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs", "pfersel": "pfersel", "purge": "purge", diff --git a/flake.nix b/flake.nix index 331c6a6..abae459 100644 --- a/flake.nix +++ b/flake.nix @@ -53,7 +53,6 @@ , agenix , impermanence , nix-colors - , nixos-hardware , lanzaboote , purge , trucksimulatorbot @@ -80,7 +79,6 @@ ./hosts/thinkpad ./shared ./users/rouven - nixos-hardware.nixosModules.common-pc-laptop-ssd home-manager.nixosModules.home-manager agenix.nixosModules.default nix-index-database.nixosModules.nix-index @@ -102,7 +100,6 @@ system = "x86_64-linux"; specialArgs = attrs; modules = [ - nixos-hardware.nixosModules.common-pc-ssd nix-index-database.nixosModules.nix-index impermanence.nixosModules.impermanence agenix.nixosModules.default diff --git a/hosts/nuc/hardware-configuration.nix b/hosts/nuc/hardware-configuration.nix index bb0d733..2ac61dc 100644 --- a/hosts/nuc/hardware-configuration.nix +++ b/hosts/nuc/hardware-configuration.nix @@ -14,6 +14,7 @@ boot.kernelModules = [ "kvm-intel" ]; boot.initrd.systemd.enable = true; boot.extraModulePackages = [ ]; + services.fstrim.enable = true; fileSystems."/" = {