diff --git a/flake.lock b/flake.lock index d57455a..a8b52f1 100644 --- a/flake.lock +++ b/flake.lock @@ -7,16 +7,15 @@ ] }, "locked": { - "lastModified": 1647175256, - "narHash": "sha256-7H+veXPM7IwdN1DoZqliwb9sghlN56koV5dnCu1kpsc=", + "lastModified": 1647903177, + "narHash": "sha256-9aWSpW/F8POA/7cuVpoqhVGfjAgcGRIinwxUaXmUpkk=", "owner": "nix-community", "repo": "home-manager", - "rev": "a8d00f5c038cf7ec54e7dac9c57b171c1217f008", + "rev": "80b4360678fa7890964ba8e40a722985bf8d107e", "type": "github" }, "original": { "owner": "nix-community", - "ref": "release-21.11", "repo": "home-manager", "type": "github" } diff --git a/flake.nix b/flake.nix index bf76765..0b5d61a 100644 --- a/flake.nix +++ b/flake.nix @@ -5,7 +5,7 @@ nur.url = "github:nix-community/NUR"; home-manager = { - url = "github:nix-community/home-manager/release-21.11"; + url = "github:nix-community/home-manager"; inputs.nixpkgs.follows = "nixpkgs"; }; }; @@ -18,7 +18,7 @@ homeConfigurations."fabian@posixlycorrect" = home-manager.lib.homeManagerConfiguration { system = "x86_64-linux"; - configuration = import ./home; + configuration = import ./home {inherit nixpkgs;}; username = "fabian"; homeDirectory = "/home/fabian"; stateVersion = "21.11"; diff --git a/home/default.nix b/home/default.nix index 041c3bb..77221d7 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,5 +1,6 @@ # man page: https://rycee.gitlab.io/home-manager/options.html +{ nixpkgs }: { config, pkgs, lib, ... }: { @@ -10,10 +11,12 @@ packages = import ./path.nix pkgs; }; - # nix.registry."system".to = { - # type = "path"; - # path = "/home/fabian/nix"; - # }; + nix.registry."system".to = { + type = "path"; + path = "/home/fabian/nix"; + }; + + nix.registry."nixpkgs".flake = nixpkgs; nixpkgs.config.allowUnfree = true; programs.home-manager.enable = true; diff --git a/home/path.nix b/home/path.nix index a3bc18b..2d0615a 100644 --- a/home/path.nix +++ b/home/path.nix @@ -1,15 +1,11 @@ pkgs: with pkgs; [ - betterlockscreen calc - cmake discord file firefox - gnupg jetbrains.pycharm-professional jq killall - octaveFull pipenv rustup signal-desktop