chore: update flakes
This commit is contained in:
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.desktop.hyprland;
|
||||
cfg = config.mySystem.desktop.hyprland;
|
||||
in {
|
||||
options.system.desktop.hyprland.enable = mkEnableOption "Enables Hyprland";
|
||||
options.mySystem.desktop.hyprland.enable = mkEnableOption "Enables Hyprland";
|
||||
config.programs.hyprland = mkIf cfg.enable {
|
||||
inherit (cfg) enable;
|
||||
withUWSM = true;
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.desktop.niri;
|
||||
cfg = config.mySystem.desktop.niri;
|
||||
in {
|
||||
options.system.desktop.niri.enable = mkEnableOption "Enables Niri";
|
||||
options.mySystem.desktop.niri.enable = mkEnableOption "Enables Niri";
|
||||
config.programs.niri = mkIf cfg.enable {
|
||||
inherit (cfg) enable;
|
||||
};
|
||||
|
||||
@@ -4,9 +4,9 @@
|
||||
...
|
||||
}:
|
||||
with lib; let
|
||||
cfg = config.system.desktop.xserver;
|
||||
cfg = config.mySystem.desktop.xserver;
|
||||
in {
|
||||
options.system.desktop.xserver = {
|
||||
options.mySystem.desktop.xserver = {
|
||||
enable = mkEnableOption "Enables xserver";
|
||||
de = mkOption {
|
||||
type = types.enum ["gnome" "kde"];
|
||||
@@ -35,7 +35,7 @@ in {
|
||||
|
||||
xserver = {
|
||||
inherit (cfg) enable;
|
||||
videoDrivers = lists.optional config.system.hardware.amdgpu.enable "amdgpu";
|
||||
videoDrivers = lists.optional config.mySystem.hardware.amdgpu.enable "amdgpu";
|
||||
xkb = {
|
||||
layout = "fr";
|
||||
variant = "bepo_afnor";
|
||||
|
||||
Reference in New Issue
Block a user