diff --git a/default.nix b/default.nix index c0ddd027..de3adf23 100644 --- a/default.nix +++ b/default.nix @@ -90,7 +90,6 @@ home-manager.useUserPackages = true; home-manager.users.sako = {pkgs, ...}: { # CHANGE THIS WHEN THE SYSTEM VERSION CHANGES TOO!!! - home.stateVersion = "23.05"; home.packages = []; home.username = "sako"; home.homeDirectory = "/home/sako"; diff --git a/flake.lock b/flake.lock new file mode 100644 index 00000000..01fa9ea3 --- /dev/null +++ b/flake.lock @@ -0,0 +1,176 @@ +{ + "nodes": { + "NixOS-WSL": { + "inputs": { + "flake-compat": "flake-compat", + "flake-utils": "flake-utils", + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1701387264, + "narHash": "sha256-uGZycEJqOZSYvpmoFuyDrboe5e1t0F/HB9r7HsWgssc=", + "owner": "nix-community", + "repo": "NixOS-WSL", + "rev": "1a50ab3fe98934d8f109f05528874c9ab324707b", + "type": "github" + }, + "original": { + "owner": "nix-community", + "repo": "NixOS-WSL", + "type": "github" + } + }, + "flake-compat": { + "flake": false, + "locked": { + "lastModified": 1696426674, + "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "owner": "edolstra", + "repo": "flake-compat", + "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "type": "github" + }, + "original": { + "owner": "edolstra", + "repo": "flake-compat", + "type": "github" + } + }, + "flake-utils": { + "inputs": { + "systems": "systems" + }, + "locked": { + "lastModified": 1694529238, + "narHash": "sha256-zsNZZGTGnMOf9YpHKJqMSsa0dXbfmxeoJ7xHlrt+xmY=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "ff7b65b44d01cf9ba6a71320833626af21126384", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "home-manager": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ] + }, + "locked": { + "lastModified": 1700814205, + "narHash": "sha256-lWqDPKHRbQfi+zNIivf031BUeyciVOtwCwTjyrhDB5g=", + "owner": "nix-community", + "repo": "home-manager", + "rev": "aeb2232d7a32530d3448318790534d196bf9427a", + "type": "github" + }, + "original": { + "owner": "nix-community", + "ref": "release-23.11", + "repo": "home-manager", + "type": "github" + } + }, + "nixpkgs": { + "locked": { + "lastModified": 1701389149, + "narHash": "sha256-rU1suTIEd5DGCaAXKW6yHoCfR1mnYjOXQFOaH7M23js=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "5de0b32be6e85dc1a9404c75131316e4ffbc634c", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixos-23.11", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-stable": { + "locked": { + "lastModified": 1701568804, + "narHash": "sha256-iwr1fjOCvlirVL/xNvOTwY9kg3L/F3TC/7yh/QszaPI=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "dc01248a9c946953ad4d438b0a626f5c987a93e4", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "release-23.05", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs-unstable": { + "locked": { + "lastModified": 1701253981, + "narHash": "sha256-ztaDIyZ7HrTAfEEUt9AtTDNoCYxUdSd6NrRHaYOIxtk=", + "owner": "nixos", + "repo": "nixpkgs", + "rev": "e92039b55bcd58469325ded85d4f58dd5a4eaf58", + "type": "github" + }, + "original": { + "owner": "nixos", + "ref": "nixos-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "root": { + "inputs": { + "NixOS-WSL": "NixOS-WSL", + "home-manager": "home-manager", + "nixpkgs": "nixpkgs", + "nixpkgs-unstable": "nixpkgs-unstable", + "sops-nix": "sops-nix" + } + }, + "sops-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "nixpkgs-stable": "nixpkgs-stable" + }, + "locked": { + "lastModified": 1701572436, + "narHash": "sha256-0anfOQqDend6kSuF8CmOSAZsiAS1nwOsin5VQukh6Q4=", + "owner": "Mic92", + "repo": "sops-nix", + "rev": "8bca48cb9a12bbd8766f359ad00336924e91b7f7", + "type": "github" + }, + "original": { + "owner": "Mic92", + "repo": "sops-nix", + "type": "github" + } + }, + "systems": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + } + }, + "root": "root", + "version": 7 +} diff --git a/hosts/sakopc/configuration.nix b/hosts/sakopc/configuration.nix index a429ba1f..48429cc9 100644 --- a/hosts/sakopc/configuration.nix +++ b/hosts/sakopc/configuration.nix @@ -87,6 +87,7 @@ }; }; + home-manager.users.sako.home.stateVersion = "23.11"; # DO NOT CHANGE THIS!!!! # ONLY CHANGE WHEN FULLY REINSTALLING # OR USING NEW SYSTEMS diff --git a/hosts/sakotop/configuration.nix b/hosts/sakotop/configuration.nix index 1fde892c..e43eb621 100644 --- a/hosts/sakotop/configuration.nix +++ b/hosts/sakotop/configuration.nix @@ -140,5 +140,7 @@ # DO NOT CHANGE THIS!!!! # ONLY CHANGE WHEN FULLY REINSTALLING # OR USING NEW SYSTEMS + home-manager.users.sako.home.stateVersion = "23.05"; + system.stateVersion = "23.05"; } diff --git a/hosts/sakowsl/configuration.nix b/hosts/sakowsl/configuration.nix index b0186d71..1c5823b7 100644 --- a/hosts/sakowsl/configuration.nix +++ b/hosts/sakowsl/configuration.nix @@ -115,5 +115,6 @@ security.sudo.wheelNeedsPassword = true; + system.stateVersion = "22.05"; }