users/jordan: nest common config
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m3s
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m3s
This commit is contained in:
parent
121ebde0a8
commit
7ce5026e62
@ -1,11 +1,16 @@
|
||||
{
|
||||
inputs,
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (lib)
|
||||
optional
|
||||
;
|
||||
name = "jordan";
|
||||
hostFile = ./. + "/${config.networking.hostName}.nix";
|
||||
in
|
||||
{
|
||||
age.secrets."passwords/users/jordan".file = "${inputs.secrets}/passwords/users/jordan.age";
|
||||
@ -31,14 +36,14 @@ in
|
||||
|
||||
home-manager.users.${name} = {
|
||||
imports = [
|
||||
./git.nix
|
||||
./gpg.nix
|
||||
./graphical
|
||||
./neovim.nix
|
||||
./pass.nix
|
||||
./shell.nix
|
||||
./ssh.nix
|
||||
];
|
||||
./common/git.nix
|
||||
./common/gpg.nix
|
||||
./common/graphical
|
||||
./common/neovim.nix
|
||||
./common/pass.nix
|
||||
./common/shell.nix
|
||||
./common/ssh.nix
|
||||
] ++ optional (builtins.pathExists hostFile) hostFile;
|
||||
|
||||
programs.nh.enable = true;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user