forked from Shinonome/dots-hyprland
38 lines
1.3 KiB
Nix
38 lines
1.3 KiB
Nix
# desktop.nix
|
|
{
|
|
config,
|
|
lib,
|
|
inputs,
|
|
pkgs,
|
|
...
|
|
}: let
|
|
cfg = config.programs.illogical-impulse;
|
|
in {
|
|
imports = [
|
|
./options.nix
|
|
];
|
|
|
|
config = lib.mkIf cfg.enable {
|
|
home.file = {
|
|
".config/quickshell".source = builtins.path {path = ../../.config/quickshell;};
|
|
".config/hypr".source = builtins.path {path = ../../.config/hypr;};
|
|
".config/matugen".source = builtins.path {path = ../../.config/matugen;};
|
|
".config/foot".source = builtins.path {path = ../../.config/foot;};
|
|
".config/kitty".source = builtins.path {path = ../../.config/kitty;};
|
|
".config/qt5ct".source = builtins.path {path = ../../.config/qt5ct;};
|
|
".config/qt6ct".source = builtins.path {path = ../../.config/qt6ct;};
|
|
".config/wlogout".source = builtins.path {path = ../../.config/wlogout;};
|
|
".config/Kvantum".source = builtins.path {path = ../../.config/Kvantum;};
|
|
".config/xdg-desktop-portal".source = builtins.path {path = ../../.config/xdg-desktop-portal;};
|
|
".config/starship.toml".source = builtins.path {path = ../../.config/starship.toml;};
|
|
};
|
|
home.packages =
|
|
import ../packages.nix {inherit pkgs;}
|
|
++ [
|
|
inputs.illogical-impulse.packages.${pkgs.system}.default
|
|
inputs.matugen.packages.${pkgs.system}.default
|
|
inputs.hyprland.packages.${pkgs.system}.default
|
|
];
|
|
};
|
|
}
|