create a template for modules config
This commit is contained in:
parent
ce996ad6b0
commit
da477c1fa5
@ -18,6 +18,7 @@
|
||||
[
|
||||
#../../modules/desktop/hyprland/home.nix # Window Manager
|
||||
../../modules/desktop/sway/home.nix # Window Manager
|
||||
../../modules/home.nix # Window Manager
|
||||
];
|
||||
|
||||
home = { # Specific packages for laptop
|
||||
@ -30,6 +31,7 @@
|
||||
streamlink-twitch-gui-bin
|
||||
element-desktop
|
||||
intel-gpu-tools
|
||||
pulsemixer
|
||||
|
||||
# Display
|
||||
light # xorg.xbacklight not supported. Other option is just use xrandr.
|
||||
|
31
modules/home.nix
Normal file
31
modules/home.nix
Normal 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 = ""; };
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user