hm hyprland to dir
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
{ lib, config, pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hyprland.nix
|
||||
];
|
||||
}
|
||||
@@ -0,0 +1,59 @@
|
||||
{ lib, config, pkgs, smayzy, ... }:
|
||||
let
|
||||
mkIf = lib.mkIf;
|
||||
in
|
||||
{
|
||||
config = mkIf smayzy.hyprland.enable {
|
||||
|
||||
home.file = lib.mkMerge [
|
||||
{
|
||||
".config/mako/config" = {
|
||||
source = builtins.toPath ../../../dotfiles/mako/config;
|
||||
force = true;
|
||||
};
|
||||
".config/wofi" = {
|
||||
source = builtins.toPath ../../../dotfiles/wofi;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
}
|
||||
|
||||
(mkIf smayzy.desktop.enable {
|
||||
".config/hypr" = {
|
||||
source = builtins.toPath ../../../dotfiles/hypr-desk;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/waybar" = {
|
||||
source = builtins.toPath ../../../dotfiles/waybar-desk;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/wlogout" = {
|
||||
source = builtins.toPath ../../../dotfiles/wlogout-desk;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
})
|
||||
|
||||
(mkIf smayzy.laptop.enable {
|
||||
".config/hypr" = {
|
||||
source = builtins.toPath ../../../dotfiles/hypr-lap;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/waybar" = {
|
||||
source = builtins.toPath ../../../dotfiles/waybar-lap;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
".config/wlogout" = {
|
||||
source = builtins.toPath ../../../dotfiles/wlogout-lap;
|
||||
recursive = true;
|
||||
force = true;
|
||||
};
|
||||
})
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user