nix stuff

This commit is contained in:
tristan 2023-12-29 23:35:07 +00:00
parent aadff64368
commit 3b63b8b52b
5 changed files with 56 additions and 23 deletions

View file

@ -15,27 +15,23 @@ nixpkgs.lib.nixosSystem {
inherit system;
modules = [
({
inputs,
pkgs,
...
}: {
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
};
})
{
nix.settings = {
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = ["hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="];
};
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${system}.hyprland;
};
}
inputs.stylix.nixosModules.stylix
({pkgs, ...}: {
stylix.image = ../images/demonslayer.png;
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-hard.yaml";
})
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;