50 lines
1.2 KiB
Nix
50 lines
1.2 KiB
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
inputs,
|
|
...
|
|
}:
|
|
let
|
|
palette = lib.strings.removePrefix "${pkgs.base16-schemes}/share/themes/" "${config.stylix.base16Scheme
|
|
}";
|
|
cleanPalette = lib.strings.removeSuffix ".yaml" "${palette}";
|
|
in
|
|
{
|
|
imports = [
|
|
./stylix.nix
|
|
./programs/fastfetch.nix
|
|
./programs/common.nix
|
|
./programs/foot.nix
|
|
./programs/git.nix
|
|
./programs/nixcord.nix
|
|
./programs/ghostty.nix
|
|
./hyprland/hyprland.nix
|
|
inputs.nixcord.homeModules.nixcord
|
|
inputs.spicetify-nix.homeManagerModules.spicetify
|
|
];
|
|
services.hyprpolkitagent.enable = true;
|
|
home.pointerCursor.enable = true;
|
|
home.username = "lucy";
|
|
home.homeDirectory = "/home/lucy";
|
|
home.stateVersion = "26.05";
|
|
home.file.p10k = {
|
|
source = ./programs/p10k.zsh;
|
|
target = ".p10k.zsh";
|
|
};
|
|
home.activation = {
|
|
wallpaper = lib.hm.dag.entryAfter [ "writeBoundary" ] ''
|
|
${lib.getExe pkgs.lutgen} apply ${config.stylix.image} -p ${cleanPalette} -o ~/.walls/stylix-bars.png
|
|
'';
|
|
reloads =
|
|
lib.hm.dag.entryAfter
|
|
[
|
|
"writeBoundary"
|
|
]
|
|
''
|
|
${lib.getExe pkgs.quickshell} ipc call config reload true
|
|
${pkgs.systemd}/sbin/systemctl --user restart hyprpolkitagent.service
|
|
|
|
'';
|
|
};
|
|
}
|