Fix a lot of module options
This commit is contained in:
parent
405f7b4329
commit
ff029aea41
@ -22,7 +22,7 @@ in
|
||||
profile.base.enable = true;
|
||||
packageSets.multimedia.enable = mkDefault true;
|
||||
programs.syncthing.enable = mkDefault true;
|
||||
common = {
|
||||
hardware = {
|
||||
bluetooth.enable = mkDefault true;
|
||||
sound.enable = mkDefault true;
|
||||
};
|
||||
|
@ -3,7 +3,10 @@ let
|
||||
cfg = config.nixfiles.common.me;
|
||||
in
|
||||
{
|
||||
options.nixfiles.common.me = lib.mkEnableOption "my user account";
|
||||
options.nixfiles.common.me = {
|
||||
enable = lib.mkEnableOption "my user account";
|
||||
};
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
users.users.nullbite = {
|
||||
isNormalUser = true;
|
||||
|
@ -19,5 +19,5 @@ in
|
||||
networking.wireguard.enable = true;
|
||||
};
|
||||
options = {
|
||||
nixfiles.common.remoteAccess = lib.mkEnableOption "remote access options" ; };
|
||||
nixfiles.common.remoteAccess.enable = lib.mkEnableOption "remote access options" ; };
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ in
|
||||
(lib.mkIf cfg.enable {
|
||||
|
||||
# Enable my account
|
||||
nixfiles.common.me = lib.mkDefault true;
|
||||
nixfiles.common.me.enable = lib.mkDefault true;
|
||||
|
||||
# locale settings
|
||||
i18n = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user