mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 02:09:04 +02:00
Small refactor
This commit is contained in:
parent
d05b910886
commit
de03120bfd
7 changed files with 41 additions and 8 deletions
|
@ -5,7 +5,7 @@
|
|||
users.users.julien = {
|
||||
isNormalUser = true;
|
||||
home = "/home/julien";
|
||||
extraGroups = [ "wheel" config.users.groups.keys.name];
|
||||
extraGroups = [ "wheel" config.users.groups.keys.name ];
|
||||
shell = pkgs.fish;
|
||||
passwordFile = config.sops.secrets.user-julien-password.path;
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
|
@ -17,5 +17,17 @@
|
|||
};
|
||||
|
||||
nix.allowedUsers = [ "julien" ];
|
||||
sops.secrets.ens-mail-passwd = {
|
||||
owner = "julien";
|
||||
path = "/home/julien/.config/ens-mail-passwd";
|
||||
};
|
||||
|
||||
sops.secrets.sendinblue-mail-passwd = { };
|
||||
sops.secrets.git-gpg-private-key = {
|
||||
owner = "julien";
|
||||
mode = "0440";
|
||||
group = config.users.groups.keys.name;
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
|
17
users/status.nix
Normal file
17
users/status.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{ config, pkgs, lib, ... }: {
|
||||
|
||||
users.users.julien = {
|
||||
isNormalUser = true;
|
||||
home = "/home/status";
|
||||
extraGroups = [ "wheel" ];
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keyFiles = [
|
||||
(pkgs.fetchurl {
|
||||
url = "https://github.com/JulienMalka.keys";
|
||||
sha256 = "sha256-nBgn7jOqi/nPHhTy3x/oirL+A4X2gbmwy1NXLZhV99M=";
|
||||
})
|
||||
];
|
||||
};
|
||||
|
||||
nix.allowedUsers = [ "status" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue