41 lines
1.1 KiB
Nix
41 lines
1.1 KiB
Nix
{ inputs, ...}: {
|
|
flake-file.inputs.noctalia = {
|
|
url = "github:noctalia-dev/noctalia";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
den.aspects.system.desktop.noctalia = {
|
|
nixos = { pkgs, ... }: {
|
|
imports = [ inputs.noctalia.nixosModules.default ];
|
|
|
|
programs.noctalia.enable = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
slurp
|
|
grim
|
|
hyprpicker
|
|
tesseract
|
|
imagemagick
|
|
zbar
|
|
curl
|
|
jq
|
|
ffmpeg
|
|
mpv
|
|
];
|
|
};
|
|
|
|
# config.toml = `noctalia config export` (re-run to pull in GUI changes; GUI settings.toml still overrides it).
|
|
homeManager = { config, ... }: {
|
|
imports = [ inputs.noctalia.homeModules.default ];
|
|
|
|
# Keep the hand-made look; stylix's noctalia target would override font/colors.
|
|
stylix.targets.noctalia.enable = false;
|
|
|
|
programs.noctalia = {
|
|
enable = true;
|
|
package = null; # installed system-wide by the nixos block
|
|
settings = builtins.fromTOML (builtins.replaceStrings [ "/home/bug" ] [ config.home.homeDirectory ] (builtins.readFile ./config.toml));
|
|
};
|
|
};
|
|
};
|
|
}
|