Reformat
This commit is contained in:
@ -10,7 +10,7 @@ with lib;
|
||||
with mylib.modules; let
|
||||
cfg = config.modules.gnome;
|
||||
in {
|
||||
options.modules.gnome = import ./options.nix { inherit lib mylib; };
|
||||
options.modules.gnome = import ./options.nix {inherit lib mylib;};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
assertions = [
|
||||
|
@ -1,25 +1,24 @@
|
||||
{
|
||||
lib,
|
||||
mylib
|
||||
mylib,
|
||||
}:
|
||||
with lib;
|
||||
with mylib.modules;
|
||||
{
|
||||
enable = mkEnableOpt "Gnome Desktop";
|
||||
# TODO: Add option for dash-to-dock
|
||||
extensions = mkBoolOpt false "Enable Gnome shell-extensions";
|
||||
with mylib.modules; {
|
||||
enable = mkEnableOpt "Gnome Desktop";
|
||||
# TODO: Add option for dash-to-dock
|
||||
extensions = mkBoolOpt false "Enable Gnome shell-extensions";
|
||||
|
||||
# TODO: Add other themes, whitesur for example
|
||||
theme = {
|
||||
papirusIcons = mkBoolOpt false "Enable the Papirus icon theme";
|
||||
numixCursor = mkBoolOpt false "Enable the Numix cursor theme";
|
||||
wallpaper = mkOption {
|
||||
type = types.str;
|
||||
default = "constructionsite";
|
||||
description = "What wallpaper to use";
|
||||
};
|
||||
# TODO: Add other themes, whitesur for example
|
||||
theme = {
|
||||
papirusIcons = mkBoolOpt false "Enable the Papirus icon theme";
|
||||
numixCursor = mkBoolOpt false "Enable the Numix cursor theme";
|
||||
wallpaper = mkOption {
|
||||
type = types.str;
|
||||
default = "constructionsite";
|
||||
description = "What wallpaper to use";
|
||||
};
|
||||
};
|
||||
|
||||
settings = {
|
||||
};
|
||||
}
|
||||
settings = {
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user