mirror of
https://github.com/itme-brain/nixos.git
synced 2026-03-24 08:39:42 -04:00
removed let variable for readability
This commit is contained in:
parent
edaffee627
commit
6d9d2fe824
1 changed files with 19 additions and 21 deletions
|
|
@ -4,10 +4,17 @@ with lib;
|
|||
let
|
||||
modules = config.modules.user;
|
||||
|
||||
userConfigs = rec {
|
||||
in
|
||||
{
|
||||
options = {
|
||||
user = mkOption {
|
||||
description = "User Configurations";
|
||||
type = types.attrs;
|
||||
default = rec {
|
||||
name = "bryan";
|
||||
email = "bryan@ramos.codes";
|
||||
shell = pkgs.bash;
|
||||
keys = import ./keys;
|
||||
|
||||
groups = [ "wheel" "networkmanager" "home-manager" "input" ];
|
||||
|
||||
|
|
@ -20,17 +27,8 @@ userConfigs = rec {
|
|||
};
|
||||
};
|
||||
|
||||
keys = import ./keys;
|
||||
bookmarks = import ./bookmarks;
|
||||
};
|
||||
|
||||
in
|
||||
{
|
||||
options = {
|
||||
user = mkOption {
|
||||
description = "User Configurations";
|
||||
type = types.attrs;
|
||||
default = userConfigs;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue