feat: format
This commit is contained in:
parent
95f31e1d7a
commit
0844945c23
15 changed files with 1111 additions and 1080 deletions
|
|
@ -1,12 +1,14 @@
|
|||
{ lib, config, pkgs, ... }:
|
||||
|
||||
let
|
||||
cfg = config.main-user;
|
||||
in
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
cfg = config.main-user;
|
||||
in {
|
||||
options.main-user = {
|
||||
enable
|
||||
= lib.mkEnableOption "enable user module";
|
||||
enable =
|
||||
lib.mkEnableOption "enable user module";
|
||||
|
||||
username = lib.mkOption {
|
||||
default = "mainuser";
|
||||
|
|
@ -21,7 +23,7 @@ in
|
|||
users.users.${cfg.username} = {
|
||||
isNormalUser = true;
|
||||
initialPassword = "12345";
|
||||
extraGroups = [ "input" "networkmanager" "wheel" ];
|
||||
extraGroups = ["input" "networkmanager" "wheel"];
|
||||
description = "Stefan";
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue