initial commit
This commit is contained in:
commit
ddd861496e
16 changed files with 361 additions and 0 deletions
41
users/mara/config.nix
Normal file
41
users/mara/config.nix
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
{ config, lib, pkgs, home-manager, ... }:
|
||||
|
||||
let
|
||||
cfg = config.users.mara;
|
||||
in
|
||||
|
||||
with lib;
|
||||
|
||||
{
|
||||
options.users.mara.enable = mkEnableOption "Enable the user Mara";
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home-manager.users.mara = { config, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
../home-default.nix
|
||||
./config/all.nix
|
||||
];
|
||||
|
||||
home = {
|
||||
username = "mara";
|
||||
homeDirectory = "/home/mara";
|
||||
};
|
||||
};
|
||||
|
||||
programs.fish.enable = true;
|
||||
|
||||
users.users.mara = {
|
||||
isNormalUser = true;
|
||||
description = "Mara";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
"docker"
|
||||
"adbusers"
|
||||
];
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue