mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 14:01:34 +01:00
Rename myWrappers to wrappers
This commit is contained in:
parent
0624562069
commit
08dae72f8d
3 changed files with 11 additions and 11 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
myWrappers,
|
||||
wrappers,
|
||||
...
|
||||
}: {
|
||||
options.myConfig.de.waybar.enable = lib.mkEnableOption "";
|
||||
|
|
@ -9,7 +9,7 @@
|
|||
config = lib.mkIf config.myConfig.de.waybar.enable {
|
||||
programs.waybar = {
|
||||
enable = true;
|
||||
package = myWrappers.waybar;
|
||||
package = wrappers.waybar;
|
||||
systemd.enable = true;
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
config,
|
||||
pkgs,
|
||||
osConfig,
|
||||
myWrappers,
|
||||
wrappers,
|
||||
...
|
||||
}: {
|
||||
xdg.userDirs.extraConfig.XDG_SCREENSHOTS_DIR = "${config.xdg.userDirs.pictures}/Screenshots";
|
||||
|
|
@ -40,12 +40,12 @@
|
|||
pkgs.hunspellDicts.de_DE
|
||||
pkgs.hunspellDicts.en_US
|
||||
|
||||
myWrappers.bottom
|
||||
myWrappers.spotify
|
||||
myWrappers.obsidian
|
||||
myWrappers.marktext
|
||||
myWrappers.webcord
|
||||
(myWrappers.kitty {inherit (config.myConfig.de) theme;})
|
||||
(myWrappers.rofi {inherit (config.myConfig.de) theme;})
|
||||
wrappers.bottom
|
||||
wrappers.spotify
|
||||
wrappers.obsidian
|
||||
wrappers.marktext
|
||||
wrappers.webcord
|
||||
(wrappers.kitty {inherit (config.myConfig.de) theme;})
|
||||
(wrappers.rofi {inherit (config.myConfig.de) theme;})
|
||||
];
|
||||
}
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@
|
|||
.wrappedPackage
|
||||
.wrapped;
|
||||
in {
|
||||
_module.args.myWrappers = lib.pipe (builtins.readDir ./.) [
|
||||
_module.args.wrappers = lib.pipe (builtins.readDir ./.) [
|
||||
(lib.filterAttrs (name: value: name != "default.nix"))
|
||||
(lib.concatMapAttrs (name: _: {${lib.removeSuffix ".nix" name} = import ./${name} {inherit assembleWrapper pkgs lib;};}))
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue