remove "parts" directory and restructure modules
This commit is contained in:
parent
4b26b8da52
commit
f2cf7d36de
19 changed files with 77 additions and 117 deletions
21
modules/user-rpqt.nix
Normal file
21
modules/user-rpqt.nix
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
{ lib, pkgs, ... }:
|
||||
{
|
||||
users.users.rpqt = {
|
||||
isNormalUser = true;
|
||||
|
||||
createHome = lib.mkDefault true;
|
||||
home = lib.mkDefault "/home/rpqt";
|
||||
|
||||
description = "Romain Paquet";
|
||||
|
||||
shell = pkgs.zsh;
|
||||
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGa8R8obgptefcp27Cdp9bc2fiyc9x0oTfMsTPFp2ktE rpqt@haze"
|
||||
];
|
||||
|
||||
extraGroups = [ "wheel" ];
|
||||
};
|
||||
|
||||
programs.zsh.enable = true;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue