flake-parts #1

Merged
lucy merged 41 commits from flake-parts into main 2026-10-19 22:40:55 +00:00
2 changed files with 11 additions and 6 deletions
Showing only changes of commit d42dda5511 - Show all commits

add stylix targets module

lucy 2026-10-19 14:46:47 +02:00

View file

@ -0,0 +1,6 @@
{ inputs, ... }: {
flake.nixosModules.stylixTargets = {
imports = [ inputs.stylix.nixosModules.stylix ];
stylix.targets = { };
};
}

View file

@ -1,13 +1,12 @@
{ inputs, ... }: {
flake.nixosModules.myStylix = {
imports = [ inputs.stylix.nixosModules.stylix ];
flake.nixosModules.myStylix = { pkgs, ... }: {
imports = [
inputs.stylix.nixosModules.stylix
stylixTargets
];
stylix = {
enable = true;
base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
image = pkgs.fetchurl {
url = "https://getwallpapers.com/wallpaper/full/1/4/3/523784.jpg";
hash = "sha256-S/6kgloXiIYI0NblT6YVXfqELApbdHGsuYe6S4JoQwQ=";
};
};
};
}