formatting

This commit is contained in:
MFlossmann 2024-07-03 00:38:20 +02:00
parent 64fcff10aa
commit 48387d08e3
14 changed files with 129 additions and 111 deletions

View file

@ -18,7 +18,7 @@ in {
age = {
# automatically import host SSH keys as age keys
sshKeyPaths = [ "/etc/ssh/ssh_host_ed25519_key" ];
sshKeyPaths = ["/etc/ssh/ssh_host_ed25519_key"];
# this will use an age key that is expected to already be in the filesystem
keyFile = "/var/lib/sops-nix/key.txt";
# generate a new key if the key specified above does not exist
@ -34,4 +34,3 @@ in {
sops
];
}

View file

@ -1,7 +1,7 @@
{
lib,
config,
inputs,
inputs,
outputs,
helperLib,
pkgs,
@ -10,7 +10,7 @@
cfg = config.myNixOS;
in {
options.myNixOS.home-users = lib.mkOption {
type = lib.types.attrsOf ( lib.types.submodule {
type = lib.types.attrsOf (lib.types.submodule {
options = {
userConfig = lib.mkOption {
example = "home.nix";
@ -37,13 +37,13 @@ in {
outputs = inputs.self.outputs;
};
users =
users =
builtins.mapAttrs (name: user: {...}: {
imports = [
(import user.userConfig)
outputs.homeManagerModules.default
];
})
})
(config.myNixOS.home-users);
};