move home-manager import to flake
This commit is contained in:
parent
2df8c52bcb
commit
2174164a0c
|
@ -108,6 +108,7 @@
|
||||||
./base.nix
|
./base.nix
|
||||||
"${self}/hosts/${hostname}"
|
"${self}/hosts/${hostname}"
|
||||||
sops-nix.nixosModules.sops
|
sops-nix.nixosModules.sops
|
||||||
|
home-manager.nixosModule
|
||||||
] ++ modules;
|
] ++ modules;
|
||||||
#++ flake-programs-sqlite.nixosModules.programs-sqlite; # TODO: make work
|
#++ flake-programs-sqlite.nixosModules.programs-sqlite; # TODO: make work
|
||||||
|
|
||||||
|
@ -118,6 +119,12 @@
|
||||||
age.generateKey = true;
|
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
|
# still needed even if using networkd
|
||||||
networking.hostName = hostname;
|
networking.hostName = hostname;
|
||||||
networking.domain = domain;
|
networking.domain = domain;
|
||||||
|
|
|
@ -11,7 +11,6 @@
|
||||||
../../profiles/upgrade-diff.nix
|
../../profiles/upgrade-diff.nix
|
||||||
../../profiles/sshd.nix
|
../../profiles/sshd.nix
|
||||||
|
|
||||||
../../users # home-manager
|
|
||||||
../../users/pbsds
|
../../users/pbsds
|
||||||
../../users/daniel
|
../../users/daniel
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
../../profiles/upgrade-diff.nix
|
../../profiles/upgrade-diff.nix
|
||||||
../../profiles/sshd.nix
|
../../profiles/sshd.nix
|
||||||
|
|
||||||
../../users # home-manager
|
|
||||||
../../users/pbsds
|
../../users/pbsds
|
||||||
|
|
||||||
../../profiles/shell/base.nix
|
../../profiles/shell/base.nix
|
||||||
|
|
|
@ -29,7 +29,6 @@
|
||||||
../../profiles/podman.nix
|
../../profiles/podman.nix
|
||||||
../../profiles/docker.nix
|
../../profiles/docker.nix
|
||||||
|
|
||||||
../../users # home-manager
|
|
||||||
../../users/pbsds
|
../../users/pbsds
|
||||||
|
|
||||||
../../profiles/shell/base.nix
|
../../profiles/shell/base.nix
|
||||||
|
|
|
@ -21,7 +21,6 @@
|
||||||
../../profiles/upgrade-diff.nix
|
../../profiles/upgrade-diff.nix
|
||||||
../../profiles/sshd.nix
|
../../profiles/sshd.nix
|
||||||
|
|
||||||
../../users # home-manager
|
|
||||||
../../users/pbsds
|
../../users/pbsds
|
||||||
|
|
||||||
../../profiles/mounts/reidun-nfs.nix
|
../../profiles/mounts/reidun-nfs.nix
|
||||||
|
|
|
@ -12,7 +12,6 @@
|
||||||
../../profiles/sshd.nix
|
../../profiles/sshd.nix
|
||||||
../../profiles/podman.nix
|
../../profiles/podman.nix
|
||||||
|
|
||||||
../../users # home-manager
|
|
||||||
../../users/pbsds
|
../../users/pbsds
|
||||||
../../users/jornane
|
../../users/jornane
|
||||||
|
|
||||||
|
|
|
@ -30,7 +30,6 @@
|
||||||
../../profiles/podman.nix
|
../../profiles/podman.nix
|
||||||
../../profiles/docker.nix
|
../../profiles/docker.nix
|
||||||
|
|
||||||
../../users # home-manager
|
|
||||||
../../users/pbsds
|
../../users/pbsds
|
||||||
|
|
||||||
../../profiles/mounts/reidun-nfs.nix
|
../../profiles/mounts/reidun-nfs.nix
|
||||||
|
|
|
@ -1,12 +0,0 @@
|
||||||
{ config, pkgs, lib, inputs, flakes, ... }:
|
|
||||||
{
|
|
||||||
#imports = [ <home-manager/nixos> ];
|
|
||||||
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’!
|
|
||||||
}
|
|
Loading…
Reference in New Issue