re-organize configuration
This commit is contained in:
parent
e2456d8019
commit
93f392f37e
12 changed files with 54 additions and 24 deletions
|
|
@ -1,11 +1,14 @@
|
|||
{ config, lib, pkgs, ... }:
|
||||
let
|
||||
secrets = config.my.secrets;
|
||||
in
|
||||
{
|
||||
users.mutableUsers = false;
|
||||
users.users.root = {
|
||||
hashedPassword = lib.fileContents ../secrets/shadow-hashed-password-root;
|
||||
hashedPassword = secrets.shadow-hashed-password-root;
|
||||
};
|
||||
users.users.alarsyo = {
|
||||
hashedPassword = lib.fileContents ../secrets/shadow-hashed-password-alarsyo;
|
||||
hashedPassword = secrets.shadow-hashed-password-alarsyo;
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ]; # Enable ‘sudo’ for the user.
|
||||
shell = pkgs.fish;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue