mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 16:16:50 +01:00
desktop deploy
This commit is contained in:
parent
366a0e221a
commit
db3dda1f0b
5 changed files with 14 additions and 13 deletions
|
|
@ -9,16 +9,6 @@ with lib; let
|
|||
inherit (config.age) secrets;
|
||||
in {
|
||||
options.fireproof = {
|
||||
username = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "nickolaj";
|
||||
description = "The username of the user";
|
||||
};
|
||||
group = lib.mkOption {
|
||||
type = lib.types.str;
|
||||
default = "users";
|
||||
};
|
||||
|
||||
home-manager = lib.mkOption {
|
||||
type = options.home-manager.users.type.functor.wrapped;
|
||||
};
|
||||
|
|
@ -29,8 +19,8 @@ in {
|
|||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel"];
|
||||
# initialPassword = "password";
|
||||
hashedPasswordFile = secrets.hashed-user-password.path;
|
||||
initialPassword = "password";
|
||||
#hashedPasswordFile = secrets.hashed-user-password.path;
|
||||
};
|
||||
|
||||
home-manager = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue