feat: pinned mapilary version downloader
feat: created user ivy
This commit is contained in:
parent
44922dfcd5
commit
76d3c488db
9 changed files with 172 additions and 7 deletions
|
@ -15,6 +15,7 @@
|
|||
uids = {
|
||||
leyla = 1000;
|
||||
eve = 1002;
|
||||
ivy = 1004;
|
||||
jellyfin = 2000;
|
||||
forgejo = 2002;
|
||||
hass = 2004;
|
||||
|
@ -33,6 +34,7 @@
|
|||
gids = {
|
||||
leyla = 1000;
|
||||
eve = 1002;
|
||||
ivy = 1004;
|
||||
users = 100;
|
||||
jellyfin_media = 2001;
|
||||
jellyfin = 2000;
|
||||
|
@ -53,6 +55,7 @@
|
|||
users = config.users.users;
|
||||
leyla = users.leyla.name;
|
||||
eve = users.eve.name;
|
||||
ivy = users.ivy.name;
|
||||
in {
|
||||
config = lib.mkMerge [
|
||||
{
|
||||
|
@ -90,6 +93,10 @@ in {
|
|||
neededForUsers = true;
|
||||
sopsFile = "${inputs.secrets}/user-passwords.yaml";
|
||||
};
|
||||
"passwords/ivy" = {
|
||||
neededForUsers = true;
|
||||
sopsFile = "${inputs.secrets}/user-passwords.yaml";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
@ -123,6 +130,19 @@ in {
|
|||
group = config.users.users.eve.name;
|
||||
};
|
||||
|
||||
ivy = {
|
||||
uid = lib.mkForce uids.ivy;
|
||||
name = lib.mkForce host.users.ivy.name;
|
||||
description = "Ivy";
|
||||
extraGroups =
|
||||
lib.optionals host.users.ivy.isNormalUser ["networkmanager"]
|
||||
++ (lib.lists.optionals host.users.ivy.isPrincipleUser ["wheel"]);
|
||||
hashedPasswordFile = config.sops.secrets."passwords/ivy".path;
|
||||
isNormalUser = host.users.ivy.isNormalUser;
|
||||
isSystemUser = !host.users.ivy.isNormalUser;
|
||||
group = config.users.users.ivy.name;
|
||||
};
|
||||
|
||||
jellyfin = {
|
||||
uid = lib.mkForce uids.jellyfin;
|
||||
isSystemUser = true;
|
||||
|
@ -218,11 +238,19 @@ in {
|
|||
];
|
||||
};
|
||||
|
||||
ivy = {
|
||||
gid = lib.mkForce gids.ivy;
|
||||
members = [
|
||||
ivy
|
||||
];
|
||||
};
|
||||
|
||||
users = {
|
||||
gid = lib.mkForce gids.users;
|
||||
members = [
|
||||
leyla
|
||||
eve
|
||||
ivy
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -235,6 +263,7 @@ in {
|
|||
users.bazarr.name
|
||||
leyla
|
||||
eve
|
||||
ivy
|
||||
];
|
||||
};
|
||||
|
||||
|
@ -268,6 +297,7 @@ in {
|
|||
users.syncthing.name
|
||||
leyla
|
||||
eve
|
||||
ivy
|
||||
];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue