]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/carotte/users.nix
nix: revamp secrets
[sourcephile-nix.git] / hosts / carotte / users.nix
1 { inputs, pkgs, lib, config, ... }:
2 let
3 inherit (config.users) users;
4 in
5 {
6 imports = [
7 ../../users/julm.nix
8 ];
9
10 nix.settings.trusted-users = [
11 users."julm".name
12 ];
13
14 users = {
15 mutableUsers = false;
16 users = {
17 root = {
18 openssh.authorizedKeys.keys =
19 users."julm".openssh.authorizedKeys.keys;
20 hashedPassword = "!";
21 };
22 };
23 groups = {
24 /*
25 adbusers.members = [ users."julm".name ];
26 dialout.members = [ users."julm".name ];
27 gpg-agent.members = [ users."julm".name ];
28 tor.members = [ users."julm".name ];
29 */
30 wheel.members = [ users."julm".name ];
31 };
32 };
33
34 }