summaryrefslogtreecommitdiff
path: root/modules/users.nix
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2022-12-28 15:20:47 -0500
committerKjetil Orbekk <kj@orbekk.com>2022-12-28 15:20:47 -0500
commita9da2ca46adfeaf8d321ecf34fd75262bd74d36d (patch)
tree3d48e554cc420bd6b4325aa9dac44b52c4172bba /modules/users.nix
parentc7eb7c3d269fb799bb226463373fff5abaf63330 (diff)
Remove dead code
Diffstat (limited to 'modules/users.nix')
-rw-r--r--modules/users.nix33
1 files changed, 16 insertions, 17 deletions
diff --git a/modules/users.nix b/modules/users.nix
index 19726cb..ec78433 100644
--- a/modules/users.nix
+++ b/modules/users.nix
@@ -29,7 +29,8 @@ in {
"hledger"
"nginx"
];
- openssh.authorizedKeys.keyFiles = [ ../data/yubikey_rsa.pub ../data/steam-deck.pub ];
+ openssh.authorizedKeys.keyFiles =
+ [ ../data/yubikey_rsa.pub ../data/steam-deck.pub ];
};
guest = {
isNormalUser = true;
@@ -93,18 +94,6 @@ in {
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKhRj4eYL01OAboBynL05+YRrYeglZoagbqkGzgX2uJq kagee"
];
};
- pjournal = {
- group = "pjournal";
- createHome = false;
- uid = 507;
- isNormalUser = true;
- };
- pjournal_test = {
- group = "pjournal_test";
- createHome = false;
- uid = 508;
- isSystemUser = true;
- };
builder = lib.mkIf enableBuilder {
isSystemUser = true;
openssh.authorizedKeys.keys = [
@@ -127,6 +116,16 @@ in {
home = "/var/lib/hledger-web";
group = "hledger";
};
+ bridge = {
+ group = "bridge";
+ createHome = false;
+ isNormalUser = true;
+ };
+ bridge_nightly = {
+ group = "bridge_nightly";
+ createHome = false;
+ isSystemUser = true;
+ };
};
extraGroups = {
fcgi = {
@@ -154,11 +153,11 @@ in {
gid = 505;
};
readonly = { gid = 506; };
- pjournal = { gid = 507; };
- pjournal_test = { gid = 508; };
+ bridge = {};
+ bridge_nightly = {};
hledger = lib.mkIf config.orbekk.hledger-web.enable { };
- minecraft = {};
- builder = {};
+ minecraft = { };
+ builder = { };
};
};
}