users/jordan: nest common config
All checks were successful
Check flake / build-amd64-linux (push) Successful in 1m3s

This commit is contained in:
Jordan Holt 2025-04-28 21:03:00 +01:00
parent 121ebde0a8
commit 7ce5026e62
Signed by: jordan
GPG Key ID: B8CFFF61F1CCF520
17 changed files with 13 additions and 8 deletions

View File

@ -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;