create a template for modules config

This commit is contained in:
2022-11-01 22:41:38 +01:00
parent ce996ad6b0
commit da477c1fa5
2 changed files with 33 additions and 0 deletions

31
modules/home.nix Normal file
View File

@@ -0,0 +1,31 @@
{ lib, options, ... }:
{
options = with lib; {
cmds = {
shell = mkOption { type = types.str; default = "fish"; };
fetch = mkOption { type = types.str; default = "hyfetch"; };
editor = mkOption { type = types.str; default = "hx"; };
wm = mkOption { type = types.str; default = "sway"; };
terminal = mkOption { type = types.str; default = "alacritty"; };
menu = mkOption { type = types.str; default = "rofi -show drun -show-icons"; };
lock = mkOption { type = types.str; default = "locksway"; };
notifications = {
volume = mkOption { type = types.str; default = "volume-notify"; };
brightness = mkOption { type = types.str; default = "brightness-notify"; };
};
};
is-wayland = mkOption { type = types.bool; default = true; };
theme = {
theme = mkOption { type = types.str; default = "catppuccin-mocha"; };
icon-theme = mkOption { type = types.str; default = "Papirus-Dark"; };
font = mkOption { type = types.str; default = "FiraCode Nerd Font Mono 11"; };
wallpaper = mkOption { type = types.str; default = ""; };
};
};
}