chore: make namespace generic so people can copy easier
This commit is contained in:
parent
0158f7ff06
commit
0562818aa7
45 changed files with 249 additions and 217 deletions
|
@ -28,7 +28,7 @@ in
|
|||
|
||||
config = mkIf cfg.enable {
|
||||
environment.systemPackages = [ cfg.package ];
|
||||
wyrdgard.home.file = {
|
||||
${namespace}.home.file = {
|
||||
".config/rofi/config.rasi".source = ./config.rasi;
|
||||
};
|
||||
};
|
||||
|
|
|
@ -15,7 +15,7 @@ let
|
|||
mkIf
|
||||
types
|
||||
;
|
||||
inherit (lib.wyrdgard) enabled;
|
||||
inherit (lib.${namespace}) enabled;
|
||||
in
|
||||
{
|
||||
options.${namespace}.desktop.addons.waybar = {
|
||||
|
@ -39,7 +39,7 @@ in
|
|||
noto-fonts-cjk-sans
|
||||
];
|
||||
|
||||
wyrdgard.home.file = {
|
||||
${namespace}.home.file = {
|
||||
".config/waybar/config.jsonc".source = ./config.jsonc;
|
||||
".config/waybar/style.css".source = ./style.css;
|
||||
};
|
||||
|
|
|
@ -1,15 +1,16 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
lib,
|
||||
namespace,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
user = config.wyrdgard.user.name;
|
||||
user = config.${namespace}.user.name;
|
||||
in
|
||||
{
|
||||
config = {
|
||||
wyrdgard.home.extraOptions = {
|
||||
${namespace}.home.extraOptions = {
|
||||
dconf.settings = {
|
||||
"org/gnome/desktop/interface" = {
|
||||
color-scheme = "prefer-dark";
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
namespace,
|
||||
...
|
||||
}:
|
||||
with lib.wyrdgard;
|
||||
with lib.${namespace};
|
||||
let
|
||||
inherit (lib)
|
||||
mkIf
|
||||
|
@ -29,7 +29,7 @@ let
|
|||
if [[ $running != "" ]]; then
|
||||
hyprctl dispatch workspace $running
|
||||
else
|
||||
# always open on w/space 4
|
||||
# always open on w/space 4
|
||||
hyprctl dispatch workspace 4
|
||||
1password&
|
||||
fi
|
||||
|
@ -79,7 +79,7 @@ in
|
|||
};
|
||||
};
|
||||
|
||||
wyrdgard = {
|
||||
${namespace} = {
|
||||
desktop.addons = {
|
||||
waybar = enabled;
|
||||
rofi = {
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.wyrdgard;
|
||||
with lib.${namespace};
|
||||
let
|
||||
cfg = config.${namespace}.desktop.kde;
|
||||
in
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue