mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 18:41:34 +01:00
Rename the namespace of the home-modules
This commit is contained in:
parent
06623cd93a
commit
f0df314f21
25 changed files with 74 additions and 68 deletions
|
|
@ -5,11 +5,11 @@
|
|||
...
|
||||
}@moduleArgs:
|
||||
{
|
||||
options.myConfig.de.hyprland.enable = lib.mkEnableOption "" // {
|
||||
options.custom.de.hyprland.enable = lib.mkEnableOption "" // {
|
||||
default = moduleArgs.osConfig.custom.de.hyprland.enable or false;
|
||||
};
|
||||
|
||||
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
||||
config = lib.mkIf config.custom.de.hyprland.enable {
|
||||
wayland.windowManager.hyprland = {
|
||||
enable = true;
|
||||
package = null;
|
||||
|
|
@ -21,14 +21,19 @@
|
|||
pkgs.grimblast
|
||||
];
|
||||
|
||||
myConfig.deUtils = {
|
||||
rofi.enable = true;
|
||||
hyprpaper.enable = true;
|
||||
hyprlock.enable = true;
|
||||
hypridle.enable = true;
|
||||
waybar.enable = true;
|
||||
cliphist.enable = true;
|
||||
gammastep.enable = true;
|
||||
custom.deUtils = {
|
||||
services = {
|
||||
hyprpaper.enable = true;
|
||||
hypridle.enable = true;
|
||||
waybar.enable = true;
|
||||
cliphist.enable = true;
|
||||
gammastep.enable = true;
|
||||
};
|
||||
|
||||
programs = {
|
||||
rofi.enable = true;
|
||||
hyprlock.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
services.dunst.enable = true;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
||||
config = lib.mkIf config.custom.de.hyprland.enable {
|
||||
wayland.windowManager.hyprland.extraConfig = ''
|
||||
# Bindflags:
|
||||
# r = release
|
||||
|
|
@ -83,7 +83,7 @@
|
|||
bindel = SUPER ALT, down, exec, $volume-down
|
||||
bindl = SUPER ALT, M, exec, $mute-mic
|
||||
|
||||
${lib.optionalString config.myConfig.deUtils.brightnessctl.enable ''
|
||||
${lib.optionalString config.custom.deUtils.programs.brightnessctl.enable ''
|
||||
# Adjust brightness
|
||||
bindel = , XF86MonBrightnessUp, exec, brightnessctl --exponent set +2%
|
||||
bindel = , XF86MonBrightnessDown, exec, brightnessctl --exponent set 2%-
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
{ config, lib, ... }:
|
||||
{
|
||||
config = lib.mkIf config.myConfig.de.hyprland.enable {
|
||||
config = lib.mkIf config.custom.de.hyprland.enable {
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
input = {
|
||||
kb_layout = "de";
|
||||
|
|
@ -36,13 +36,13 @@
|
|||
dark = "rgb(ffffff)";
|
||||
light = "rgb(000000)";
|
||||
}
|
||||
.${config.myConfig.theme};
|
||||
.${config.custom.theme};
|
||||
"col.inactive_border" =
|
||||
{
|
||||
dark = "rgba(ffffff00)";
|
||||
light = "rgba(ffffff00)";
|
||||
}
|
||||
.${config.myConfig.theme};
|
||||
.${config.custom.theme};
|
||||
layout = "master";
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue