diff --git a/flake.lock b/flake.lock index 8ea4a7ad596b2906050682d04ad37150a305f3fc..400bcc288cca7471dc38c0ddb891c9c4686803fc 100644 --- a/flake.lock +++ b/flake.lock @@ -170,22 +170,6 @@ "repo": "nixpkgs", "type": "github" } }, - "nixpkgs-unstable": { - "locked": { - "lastModified": 1760934318, - "narHash": "sha256-/oUYsC0lUCBory65VK+UHqCCsCspbL1Vgfcf1KUYqVw=", - "owner": "nixos", - "repo": "nixpkgs", - "rev": "87848bf0cc4f87717fc813a4575f07330c3e743c", - "type": "github" - }, - "original": { - "owner": "nixos", - "ref": "nixpkgs-unstable", - "repo": "nixpkgs", - "type": "github" - } - }, "nixpkgs_2": { "locked": { "lastModified": 1755615617, @@ -360,7 +344,6 @@ "helix": "helix", "home-manager": "home-manager", "nixos-hardware": "nixos-hardware", "nixpkgs": "nixpkgs_5", - "nixpkgs-unstable": "nixpkgs-unstable", "nur": "nur", "pokego": "pokego", "spectre": "spectre", diff --git a/flake.nix b/flake.nix index 49c801d8fbfa8cdfd2048e9b149b6b57df575d2b..f291db27e4e6a77c0d5264a162eb82462175b45d 100644 --- a/flake.nix +++ b/flake.nix @@ -3,7 +3,6 @@ description = "jolheiser's nixos config"; inputs = { nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable"; - nixpkgs-unstable.url = "github:nixos/nixpkgs/nixpkgs-unstable"; home-manager = { url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; @@ -78,7 +77,7 @@ }; homeConfigurations."jolheiser" = home-manager.lib.homeManagerConfiguration { inherit pkgs; extraSpecialArgs = { - inherit jolheiser inputs; + inherit jolheiser; }; modules = homeManagerModules ++ [ ./home/de ]; }; diff --git a/home/default.nix b/home/default.nix index e140f5a6f5a9e17072923bddf1049d652ad7caac..efa8b83b864053782afbc0d6a27651ee81070230 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,4 +1,4 @@ -{ jolheiser, inputs, ... }: +{ jolheiser, ... }: let inherit (jolheiser) username; in @@ -11,9 +11,5 @@ age = { secretsDir = "/home/${username}/.agenix/agenix"; secretsMountPoint = "/home/${username}/.agenix/agenix.d"; identityPaths = [ "/home/${username}/.ssh/nix" ]; - }; - nix.registry = { - nixpkgs.flake = inputs.nixpkgs-unstable; - stable.flake = inputs.nixpkgs; }; } diff --git a/home/nogui/nushell.nix b/home/nogui/nushell.nix index d3d25c351bc6b61b922bb4453f7a2f07af281e26..60421a11cd26f2ccb5ac431ec37c09a48f9727ae 100644 --- a/home/nogui/nushell.nix +++ b/home/nogui/nushell.nix @@ -1,9 +1,4 @@ -{ - pkgs, - config, - inputs, - ... -}: +{ pkgs, config, ... }: { age.secrets.spectre-pw.file = ../../secrets/spectre-pw.age; programs.nushell = { @@ -34,7 +29,6 @@ $env.PATH = ($env.PATH | split row (char esep) | prepend '${config.xdg.dataHome}/go/bin') $env.SPECTRE_USERNAME = "jolheiser" $env.SPECTRE_SECRET-FILE = "${config.age.secrets.spectre-pw.path}" $env.NIXOS_OZONE_WL = "1" - $env.NIX_PATH = "nixpkgs=${inputs.nixpkgs-unstable}" ''; }; xdg.configFile = {