diff options
Diffstat (limited to 'home')
| -rw-r--r-- | home/default.nix | 18 |
1 files changed, 4 insertions, 14 deletions
diff --git a/home/default.nix b/home/default.nix index d6e8a81..5d92b6e 100644 --- a/home/default.nix +++ b/home/default.nix @@ -1,8 +1,6 @@ -{ self, nixpkgs, nixpkgsUnstable, nur, hm-isolation }: { lib, config, pkgs, ... }: with lib; { imports = [ - hm-isolation.homeManagerModule ./desktop.nix ./environ.nix ./graphics.nix @@ -15,17 +13,9 @@ with lib; { }; config = { - nixpkgs.overlays = [ nur.overlay self.overlay ]; - - nix.registry = { - "nixpkgs".flake = nixpkgs; - "nixpkgsUnstable".flake = nixpkgsUnstable; - "nur".flake = nur; - - "system".to = { - type = "path"; - path = "/home/ale/nix"; - }; + nix.registry."system".to = { + type = "path"; + path = "${config.home.homeDirectory}/nix"; }; home = { @@ -40,7 +30,7 @@ with lib; { stateVersion = "21.11"; username = "ale"; - homeDirectory = "/home/ale"; + homeDirectory = "/home/${config.home.username}"; sessionVariables = { EDITOR = "nvim"; |
