desktop/niri: hotfix for other desktops

Signed-off-by: unexplrd <unexplrd@linerds.us>
This commit is contained in:
2025-05-27 22:16:49 +03:00
parent d81c644665
commit 8ae65a6752
2 changed files with 12 additions and 5 deletions

View File

@ -2,12 +2,14 @@
perSystem,
osConfig,
config,
inputs,
pkgs,
lib,
...
}: let
# inherit (lib.strings) removeSuffix;
inherit (lib) mkIf mkEnableOption mkDefault mkForce getExe;
inherit (config.lib.stylix) colors;
# inherit (osConfig.module.stylix) theme;
inherit (osConfig.networking) hostName;
cfg = config.desktop.niri;
@ -15,8 +17,8 @@
launcher = getExe pkgs.walker;
lockscreen = getExe pkgs.gtklock;
in {
imports = [
./programs
imports = with inputs; [
walker.homeManagerModules.default
];
options = {
desktop.niri.enable =
@ -62,6 +64,8 @@ in {
platformTheme.name = "gtk3";
};
programs.walker = import ./programs/walker {inherit config inputs pkgs;};
programs.waybar = import ./programs/waybar {inherit config colors getExe ifLaptop pkgs;};
xdg.configFile.niri = import ./niri.nix {inherit config hostName launcher lockscreen;};
services = import ./services {inherit pkgs lockscreen getExe perSystem;};
@ -162,6 +166,7 @@ in {
Service =
mkDefault graphicalService.Service;
};
walker = mkGraphicalService {};
# gnome-polkit-agent = mkGraphicalService {
# Service =
# graphicalService.Service

View File

@ -14,7 +14,9 @@ in {
imports = with inputs; [
walker.homeManagerModules.default
];
# programs.fuzzel = import ./fuzzel {inherit config mkDefault;};
programs.walker = import ./walker {inherit config inputs pkgs;};
programs.waybar = import ./waybar {inherit colors config getExe ifLaptop pkgs;};
options = config.desktop.niri.enable {
# programs.fuzzel = import ./fuzzel {inherit config mkDefault;};
programs.walker = import ./walker {inherit config inputs pkgs;};
programs.waybar = import ./waybar {inherit colors config getExe ifLaptop pkgs;};
};
}