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,
|
inputs,
|
||||||
|
lib,
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
|
inherit (lib)
|
||||||
|
optional
|
||||||
|
;
|
||||||
name = "jordan";
|
name = "jordan";
|
||||||
|
hostFile = ./. + "/${config.networking.hostName}.nix";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
age.secrets."passwords/users/jordan".file = "${inputs.secrets}/passwords/users/jordan.age";
|
age.secrets."passwords/users/jordan".file = "${inputs.secrets}/passwords/users/jordan.age";
|
||||||
@ -31,14 +36,14 @@ in
|
|||||||
|
|
||||||
home-manager.users.${name} = {
|
home-manager.users.${name} = {
|
||||||
imports = [
|
imports = [
|
||||||
./git.nix
|
./common/git.nix
|
||||||
./gpg.nix
|
./common/gpg.nix
|
||||||
./graphical
|
./common/graphical
|
||||||
./neovim.nix
|
./common/neovim.nix
|
||||||
./pass.nix
|
./common/pass.nix
|
||||||
./shell.nix
|
./common/shell.nix
|
||||||
./ssh.nix
|
./common/ssh.nix
|
||||||
];
|
] ++ optional (builtins.pathExists hostFile) hostFile;
|
||||||
|
|
||||||
programs.nh.enable = true;
|
programs.nh.enable = true;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user