diff --git a/flake.nix b/flake.nix index 48dfbef..39996b5 100644 --- a/flake.nix +++ b/flake.nix @@ -108,6 +108,7 @@ ./base.nix "${self}/hosts/${hostname}" sops-nix.nixosModules.sops + home-manager.nixosModule ] ++ modules; #++ flake-programs-sqlite.nixosModules.programs-sqlite; # TODO: make work @@ -118,6 +119,12 @@ age.generateKey = true; }; + home-manager.useGlobalPkgs = true; # go brrr, reuse overrides + home-manager.extraSpecialArgs = { + inherit inputs; + flakes = flake inputs system; + }; + # still needed even if using networkd networking.hostName = hostname; networking.domain = domain; diff --git a/hosts/bolle/default.nix b/hosts/bolle/default.nix index 57b6789..09dab63 100644 --- a/hosts/bolle/default.nix +++ b/hosts/bolle/default.nix @@ -11,7 +11,6 @@ ../../profiles/upgrade-diff.nix ../../profiles/sshd.nix - ../../users # home-manager ../../users/pbsds ../../users/daniel diff --git a/hosts/brumlebasse/default.nix b/hosts/brumlebasse/default.nix index 76298d9..4f74a9d 100644 --- a/hosts/brumlebasse/default.nix +++ b/hosts/brumlebasse/default.nix @@ -15,7 +15,6 @@ ../../profiles/upgrade-diff.nix ../../profiles/sshd.nix - ../../users # home-manager ../../users/pbsds ../../profiles/shell/base.nix diff --git a/hosts/garp/default.nix b/hosts/garp/default.nix index 51922e4..669ea0c 100644 --- a/hosts/garp/default.nix +++ b/hosts/garp/default.nix @@ -29,7 +29,6 @@ ../../profiles/podman.nix ../../profiles/docker.nix - ../../users # home-manager ../../users/pbsds ../../profiles/shell/base.nix diff --git a/hosts/nord/default.nix b/hosts/nord/default.nix index 09accb6..a3aac47 100644 --- a/hosts/nord/default.nix +++ b/hosts/nord/default.nix @@ -21,7 +21,6 @@ ../../profiles/upgrade-diff.nix ../../profiles/sshd.nix - ../../users # home-manager ../../users/pbsds ../../profiles/mounts/reidun-nfs.nix diff --git a/hosts/noximilien/default.nix b/hosts/noximilien/default.nix index 10c8b3d..44fcdaa 100644 --- a/hosts/noximilien/default.nix +++ b/hosts/noximilien/default.nix @@ -12,7 +12,6 @@ ../../profiles/sshd.nix ../../profiles/podman.nix - ../../users # home-manager ../../users/pbsds ../../users/jornane diff --git a/hosts/sopp/default.nix b/hosts/sopp/default.nix index 53f2bd5..fa4c873 100644 --- a/hosts/sopp/default.nix +++ b/hosts/sopp/default.nix @@ -30,7 +30,6 @@ ../../profiles/podman.nix ../../profiles/docker.nix - ../../users # home-manager ../../users/pbsds ../../profiles/mounts/reidun-nfs.nix diff --git a/users/default.nix b/users/default.nix deleted file mode 100644 index 5d666c6..0000000 --- a/users/default.nix +++ /dev/null @@ -1,12 +0,0 @@ -{ config, pkgs, lib, inputs, flakes, ... }: -{ - #imports = [ ]; - imports = [ inputs.home-manager.nixosModule ]; - home-manager.extraSpecialArgs = { - inherit inputs flakes; - }; - home-manager.useGlobalPkgs = true; # go brrr, reuse overrides - #home-manager.useUserPackages = true # needed if VM, somewhat brrr, installs user packages to /etc instead of ~/.nix-profile - - # When adding a new user accounts: Don't forget to set a password with ‘passwd’! -}