diff --git a/flake.lock b/flake.lock index 79a6f22..c7b220a 100644 --- a/flake.lock +++ b/flake.lock @@ -141,11 +141,11 @@ "utils": "utils_2" }, "locked": { - "lastModified": 1667898954, - "narHash": "sha256-VqHVeoxcOl9M6yQ+LV3yTWMb0h5Rl5yixn9PCY/MJJo=", + "lastModified": 1667981810, + "narHash": "sha256-p27zd5M+OkfND46gzbGkaHlNBZsYe95M48OJuFeuuSY=", "owner": "nix-community", "repo": "home-manager", - "rev": "d20e3d070c78271356a2d5d73c01f1de94586087", + "rev": "6ce3493a3c5c6a8f4cfa6f5f88723272e0cfd335", "type": "github" }, "original": { @@ -156,11 +156,11 @@ }, "nixos-hardware": { "locked": { - "lastModified": 1667768008, - "narHash": "sha256-PGbX0s2hhXGnZDFVE6UIhPSOf5YegpWs5dUXpT/14F0=", + "lastModified": 1668005176, + "narHash": "sha256-1Z6ysp8I7NvK8ccL0+r8GI5mxzVqhPLVCI01uPg1ul4=", "owner": "NixOS", "repo": "nixos-hardware", - "rev": "f6483e0def85efb9c1e884efbaff45a5e7aabb34", + "rev": "909f0259470f6e9edea71f281410ef25bfa274ee", "type": "github" }, "original": { @@ -220,11 +220,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1667939680, - "narHash": "sha256-nu3zSaTsdhjSs0F8WTzFBlJ9Q2tNaw7A1EIPRhniqnw=", + "lastModified": 1667969101, + "narHash": "sha256-GL53T705HO7Q/KVfbb5STx8AxFs8YgaGY8pvAZC+O7U=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "9f1f990aee8ca8bc847bf41feabe0d91d8a59dc4", + "rev": "bbf77421ac51a7c93f5f0f760da99e4dbce614fa", "type": "github" }, "original": { diff --git a/hosts/aristotle/configuration.nix b/hosts/aristotle/configuration.nix index 28a1796..4c0e1ff 100644 --- a/hosts/aristotle/configuration.nix +++ b/hosts/aristotle/configuration.nix @@ -6,6 +6,7 @@ ./hardware-configuration.nix nixos-hardware.nixosModules.raspberry-pi-4 + ../../modules/base ../../modules/ipfs/cluster.nix ../../modules/sops ]; diff --git a/hosts/plato/configuration.nix b/hosts/plato/configuration.nix index c102eb0..a096960 100644 --- a/hosts/plato/configuration.nix +++ b/hosts/plato/configuration.nix @@ -4,6 +4,7 @@ ./hardware-configuration.nix ../../users + ../../modules/base ../../modules/coredns ../../modules/code-server ../../modules/drone diff --git a/hosts/socrates/configuration.nix b/hosts/socrates/configuration.nix index 6eca014..e5c2944 100644 --- a/hosts/socrates/configuration.nix +++ b/hosts/socrates/configuration.nix @@ -4,6 +4,7 @@ ./networking.nix # generated at runtime by nixos-infect ../../users + ../../modules/base ../../modules/coredns ../../modules/code-server/nginx.nix ../../modules/drone/nginx.nix diff --git a/modules/base/default.nix b/modules/base/default.nix new file mode 100644 index 0000000..52dd0ee --- /dev/null +++ b/modules/base/default.nix @@ -0,0 +1,12 @@ +{ pkgs, config, ... }: { + environment.systemPackages = with pkgs; [ + inetutils + vim + ]; + nix = { + gc = { + automatic = true; + persistent = true; + }; + }; +}