mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 17:31:34 +01:00
Use lib.singleton when convenient
This commit is contained in:
parent
dd3c11d88b
commit
464b6a7850
6 changed files with 34 additions and 46 deletions
|
|
@ -23,18 +23,16 @@
|
|||
signByDefault = true;
|
||||
};
|
||||
|
||||
includes = [
|
||||
{
|
||||
condition = "gitdir:~/Projects/h-da/**";
|
||||
contents = {
|
||||
user = {
|
||||
name = "Sebastian Stork";
|
||||
email = "sebastian.stork@stud.h-da.de";
|
||||
signingkey = config.sops.secrets."ssh-key/code.fbi.h-da.de".path;
|
||||
};
|
||||
includes = lib.singleton {
|
||||
condition = "gitdir:~/Projects/h-da/**";
|
||||
contents = {
|
||||
user = {
|
||||
name = "Sebastian Stork";
|
||||
email = "sebastian.stork@stud.h-da.de";
|
||||
signingkey = config.sops.secrets."ssh-key/code.fbi.h-da.de".path;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
ssh = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue