stylix, formatting

This commit is contained in:
tristan 2023-12-11 09:26:41 +00:00
parent d3649cf6e2
commit 3409811d55
13 changed files with 376 additions and 166 deletions

View file

@ -4,7 +4,6 @@ name:
, home-manager
, system
, user
, hyprland
, laptop ? false
, work ? false
, userName
@ -18,7 +17,7 @@ nixpkgs.lib.nixosSystem rec {
modules = [
({inputs, pkgs, ...}: {
({ inputs, pkgs, ... }: {
programs.hyprland = {
enable = true;
package = inputs.hyprland.packages.${pkgs.system}.hyprland;
@ -30,14 +29,16 @@ nixpkgs.lib.nixosSystem rec {
trusted-public-keys = [ "hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc=" ];
};
}
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;
home-manager.useUserPackages = true;
home-manager.users.${user}.imports = [
hyprland.homeManagerModules.default
];
}
(import ./home.nix { inherit user userName name hyprland laptop work; })
(import ./home.nix { inherit inputs user userName name laptop work; })
];
}