mirror of
https://github.com/DreamMaoMao/maomaowm.git
synced 2026-05-03 06:46:38 -04:00
fix: hm-module use self package
This commit is contained in:
parent
d2d8e7b01b
commit
9d78c83fa3
2 changed files with 3 additions and 2 deletions
|
|
@ -26,7 +26,7 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
flake = {
|
flake = {
|
||||||
hmModules.maomaowm = import ./nix/hm-modules.nix;
|
hmModules.maomaowm = import ./nix/hm-modules.nix { inherit self; };
|
||||||
nixosModules.maomaowm = import ./nix/nixos-modules.nix { inherit inputs self; };
|
nixosModules.maomaowm = import ./nix/nixos-modules.nix { inherit inputs self; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
{ self }:
|
||||||
{
|
{
|
||||||
lib,
|
lib,
|
||||||
config,
|
config,
|
||||||
|
|
@ -5,7 +6,7 @@
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
maomaowm = pkgs.callPackage ./. { };
|
inherit (self.packages.${pkgs.system}) maomaowm;
|
||||||
cfg = config.wayland.windowManager.maomaowm;
|
cfg = config.wayland.windowManager.maomaowm;
|
||||||
variables = lib.concatStringsSep " " cfg.systemd.variables;
|
variables = lib.concatStringsSep " " cfg.systemd.variables;
|
||||||
extraCommands = lib.concatStringsSep " && " cfg.systemd.extraCommands;
|
extraCommands = lib.concatStringsSep " && " cfg.systemd.extraCommands;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue