refactoring complete?
This commit is contained in:
parent
a46b1ce288
commit
858c6dd88d
7 changed files with 17 additions and 9 deletions
|
@ -1 +1 @@
|
|||
_: { imports = [ ./cli ./gui ./tui ./other ./services ./editors ]; }
|
||||
_: { imports = [ ./cli ./gui ./tui ./other ./services ./editors ./wms ]; }
|
||||
|
|
|
@ -1 +1 @@
|
|||
_: { imports = [ ./emacs.nix ]; }
|
||||
_: { imports = [ ./emacs.nix ./helix.nix ./kakoune.nix ]; }
|
||||
|
|
1
modules/wms/default.nix
Normal file
1
modules/wms/default.nix
Normal file
|
@ -0,0 +1 @@
|
|||
_: { imports = [ ./wayland ]; }
|
|
@ -1,6 +1,10 @@
|
|||
{ config, pkgs, inputs, ... }: {
|
||||
imports =
|
||||
[ inputs.niri.nixosModules.niri ];
|
||||
;
|
||||
programs.niri.enable = true;
|
||||
imports = [
|
||||
# inputs.niri.nixosModules.niri
|
||||
|
||||
./hypr
|
||||
./variables.nix
|
||||
|
||||
];
|
||||
# programs.niri.enable = true;
|
||||
}
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
_: { imports = [ ./land.nix ]; }
|
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.modules.programs.hyprland;
|
||||
cfg = config.modules.wms.wayland.hyprland;
|
||||
username = config.modules.other.system.username;
|
||||
inherit (inputs.hyprland.packages.${pkgs.system}) hyprland;
|
||||
inherit (inputs.anyrun.packages.${pkgs.system}) anyrun;
|
||||
|
@ -11,7 +11,7 @@ let
|
|||
inherit (inputs.split-monitor-workspaces.packages.${pkgs.system})
|
||||
split-monitor-workspaces;
|
||||
in {
|
||||
options.modules.programs.hyprland.enable = mkEnableOption "hyprland";
|
||||
options.modules.wms.wayland.hyprland.enable = mkEnableOption "hyprland";
|
||||
config = mkIf cfg.enable {
|
||||
|
||||
# xdg Portal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue