diff --git a/common/default.nix b/common/default.nix index 2d82a1e..8c80d90 100644 --- a/common/default.nix +++ b/common/default.nix @@ -69,4 +69,6 @@ ${coreutils}/bin/chmod 770 /srv/within/run ''; }; + + system.stateVersion = "21.05"; } diff --git a/common/home-manager/default.nix b/common/home-manager/default.nix index 8f5c79b..1456f55 100644 --- a/common/home-manager/default.nix +++ b/common/home-manager/default.nix @@ -30,4 +30,6 @@ }; systemd.user.startServices = true; + + home.stateVersion = "21.11"; } diff --git a/flake.lock b/flake.lock index b45c30c..358b082 100644 --- a/flake.lock +++ b/flake.lock @@ -41,11 +41,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1652079807, - "narHash": "sha256-aCs1EwO9K2yJ1DcT4+4g7BMlJBWP7Xjs4k5i8ueR8PU=", + "lastModified": 1653594315, + "narHash": "sha256-kJ0ENmnQJ4qL2FeYKZba9kvv1KmIuB3NVpBwMeI7AJQ=", "owner": "serokell", "repo": "deploy-rs", - "rev": "690f698b18345d894784752b5fa93b9b8f3cc29f", + "rev": "184349d8149436748986d1bdba087e4149e9c160", "type": "github" }, "original": { @@ -60,11 +60,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1653478820, - "narHash": "sha256-fDwmE3FU7yAC9iOs5CFde0NgEnsdKdPUCDLyE8qN+5I=", + "lastModified": 1655811269, + "narHash": "sha256-kihWI1XQs+ODBE2CCo5DFuv7+bRaJoPpEgKvtKAAnWc=", "owner": "nix-community", "repo": "emacs-overlay", - "rev": "d17a84f55aa4964afe0acfe09f96aa525b5292a4", + "rev": "24a3db32a164c797e66f55270390f3ad69e3c8d3", "type": "github" }, "original": { @@ -92,11 +92,27 @@ "flake-compat_2": { "flake": false, "locked": { - "lastModified": 1648199409, - "narHash": "sha256-JwPKdC2PoVBkG6E+eWw3j6BMR6sL3COpYWfif7RVb8Y=", + "lastModified": 1650374568, + "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", "owner": "edolstra", "repo": "flake-compat", - "rev": "64a525ee38886ab9028e6f61790de0832aa3ef03", + "rev": "b4a34015c698c7793d592d66adbab377907a2be8", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-compat_3": { + "flake": false, + "locked": { + "lastModified": 1650374568, + "narHash": "sha256-Z+s0J8/r907g149rllvwhb4pKi8Wam5ij0st8PwAh+E=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "b4a34015c698c7793d592d66adbab377907a2be8", "type": "github" }, "original": { @@ -107,11 +123,11 @@ }, "flake-utils": { "locked": { - "lastModified": 1652776076, - "narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=", + "lastModified": 1653893745, + "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8", + "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", "type": "github" }, "original": { @@ -147,14 +163,18 @@ }, "home-manager": { "inputs": { - "nixpkgs": "nixpkgs_4" + "flake-compat": "flake-compat_2", + "nixpkgs": "nixpkgs_4", + "nmd": "nmd", + "nmt": "nmt", + "utils": "utils_2" }, "locked": { - "lastModified": 1653340164, - "narHash": "sha256-t6BPApyasx6FOv2cEVyFBXvkEDrknyUe7bngMbNSBkA=", + "lastModified": 1655766296, + "narHash": "sha256-Tw0/LXocQpcouU2/EKTsWQhU9/UUMJwFN3TiJdBoJCw=", "owner": "nix-community", "repo": "home-manager", - "rev": "e66f0ff69a6c0698b35034b842c4b68814440778", + "rev": "ce563f591195cf363bca382fe02ea5ca87754773", "type": "github" }, "original": { @@ -284,11 +304,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1653326962, - "narHash": "sha256-W8feCYqKTsMre4nAEpv5Kx1PVFC+hao/LwqtB2Wci/8=", + "lastModified": 1655567057, + "narHash": "sha256-Cc5hQSMsTzOHmZnYm8OSJ5RNUp22bd5NADWLHorULWQ=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "41cc1d5d9584103be4108c1815c350e07c807036", + "rev": "e0a42267f73ea52adc061a64650fddc59906fc99", "type": "github" }, "original": { @@ -298,25 +318,27 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1653326962, - "narHash": "sha256-W8feCYqKTsMre4nAEpv5Kx1PVFC+hao/LwqtB2Wci/8=", - "owner": "NixOS", + "lastModified": 1654230545, + "narHash": "sha256-8Vlwf0x8ow6pPOK2a04bT+pxIeRnM1+O0Xv9/CuDzRs=", + "owner": "nixos", "repo": "nixpkgs", - "rev": "41cc1d5d9584103be4108c1815c350e07c807036", + "rev": "236cc2971ac72acd90f0ae3a797f9f83098b17ec", "type": "github" }, "original": { - "id": "nixpkgs", - "type": "indirect" + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" } }, "nixpkgs_5": { "locked": { - "lastModified": 1653060744, - "narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=", + "lastModified": 1655624069, + "narHash": "sha256-7g1zwTdp35GMTERnSzZMWJ7PG3QdDE8VOX3WsnOkAtM=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "dfd82985c273aac6eced03625f454b334daae2e8", + "rev": "0d68d7c857fe301d49cdcd56130e0beea4ecd5aa", "type": "github" }, "original": { @@ -386,6 +408,38 @@ "type": "indirect" } }, + "nmd": { + "flake": false, + "locked": { + "lastModified": 1653339422, + "narHash": "sha256-8nc7lcYOgih3YEmRMlBwZaLLJYpLPYKBlewqHqx8ieg=", + "owner": "rycee", + "repo": "nmd", + "rev": "9e7a20e6ee3f6751f699f79c0b299390f81f7bcd", + "type": "gitlab" + }, + "original": { + "owner": "rycee", + "repo": "nmd", + "type": "gitlab" + } + }, + "nmt": { + "flake": false, + "locked": { + "lastModified": 1648075362, + "narHash": "sha256-u36WgzoA84dMVsGXzml4wZ5ckGgfnvS0ryzo/3zn/Pc=", + "owner": "rycee", + "repo": "nmt", + "rev": "d83601002c99b78c89ea80e5e6ba21addcfe12ae", + "type": "gitlab" + }, + "original": { + "owner": "rycee", + "repo": "nmt", + "type": "gitlab" + } + }, "portable-svc": { "inputs": { "nixpkgs": "nixpkgs_7" @@ -481,7 +535,7 @@ "nixpkgs": "nixpkgs_5", "printerfacts": "printerfacts", "rhea": "rhea", - "utils": "utils_3", + "utils": "utils_4", "waifud": "waifud", "wsl": "wsl", "x": "x" @@ -503,6 +557,21 @@ } }, "utils_2": { + "locked": { + "lastModified": 1653893745, + "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "utils_3": { "locked": { "lastModified": 1638122382, "narHash": "sha256-sQzZzAbvKEqN9s0bzWuYmRaA03v40gaJ4+iL1LXjaeI=", @@ -517,13 +586,13 @@ "type": "github" } }, - "utils_3": { + "utils_4": { "locked": { - "lastModified": 1652776076, - "narHash": "sha256-gzTw/v1vj4dOVbpBSJX4J0DwUR6LIyXo7/SuuTJp1kM=", + "lastModified": 1653893745, + "narHash": "sha256-0jntwV3Z8//YwuOjzhV2sgJJPt+HY6KhU7VZUL0fKZQ=", "owner": "numtide", "repo": "flake-utils", - "rev": "04c1b180862888302ddfb2e3ad9eaa63afc60cf8", + "rev": "1ed9fb1935d260de5fe1c2f7ee0ebaae17ed2fa1", "type": "github" }, "original": { @@ -558,7 +627,7 @@ }, "wsl": { "inputs": { - "flake-compat": "flake-compat_2", + "flake-compat": "flake-compat_3", "flake-utils": [ "utils" ], @@ -567,11 +636,11 @@ ] }, "locked": { - "lastModified": 1651742999, - "narHash": "sha256-d0q2KpnJCXLLlzbEEEKe5IA2UfMXxwT/S92QwzBGn84=", + "lastModified": 1655723343, + "narHash": "sha256-J95qdF7m30dEioJZE8fsmaOusqIp57SMJyG4U/ZKfJk=", "owner": "nix-community", "repo": "NixOS-WSL", - "rev": "bbf02821ee42fd8aff0568b844a9712cbdf07bb2", + "rev": "e178b6df72d79324a8446cd175d9d091223585ae", "type": "github" }, "original": { @@ -609,7 +678,7 @@ "xess": { "inputs": { "nixpkgs": "nixpkgs_8", - "utils": "utils_2" + "utils": "utils_3" }, "locked": { "lastModified": 1640540322, diff --git a/hosts/chrysalis/default.nix b/hosts/chrysalis/default.nix index e307040..312dee4 100644 --- a/hosts/chrysalis/default.nix +++ b/hosts/chrysalis/default.nix @@ -22,7 +22,6 @@ networking.firewall.enable = false; - system.stateVersion = "20.09"; nixpkgs.config.allowUnfree = true; virtualisation.docker.enable = true; diff --git a/hosts/firgu/default.nix b/hosts/firgu/default.nix index 273875e..2bc61fc 100644 --- a/hosts/firgu/default.nix +++ b/hosts/firgu/default.nix @@ -30,8 +30,6 @@ in { git ]; - system.stateVersion = "20.09"; # Did you read the comment? - within.users.enableSystem = true; boot.kernel.sysctl = {