From 3ff144a4539e4e0f2d48b51c51265de6c10884b1 Mon Sep 17 00:00:00 2001 From: joy Date: Fri, 5 Jul 2024 17:42:57 +0200 Subject: [PATCH] stylix --- flake.nix | 1 + home/default.nix | 2 -- modules/default.nix | 1 + modules/stylix/default.nix | 24 ++++++++++++++++++++++++ 4 files changed, 26 insertions(+), 2 deletions(-) create mode 100644 modules/stylix/default.nix diff --git a/flake.nix b/flake.nix index 20ee71f..2d3f024 100644 --- a/flake.nix +++ b/flake.nix @@ -19,6 +19,7 @@ specialArgs = {inherit inputs;}; modules = [ ./hosts/desktop + inputs.stylix.nixosModules.stylix ]; }; nixosConfigurations.laptop = nixpkgs.lib.nixosSystem { diff --git a/home/default.nix b/home/default.nix index 30c19fb..19e047e 100644 --- a/home/default.nix +++ b/home/default.nix @@ -9,8 +9,6 @@ ./gtk ./git ./ags - ./stylix - inputs.homeManagerModules.stylix inputs.nix-colors.homeManagerModules.default inputs.ags.homeManagerModules.default ]; diff --git a/modules/default.nix b/modules/default.nix index 0a3f295..abb7293 100644 --- a/modules/default.nix +++ b/modules/default.nix @@ -6,5 +6,6 @@ ./packages ./misc ./gdm + ./stylix ]; } diff --git a/modules/stylix/default.nix b/modules/stylix/default.nix new file mode 100644 index 0000000..c56c794 --- /dev/null +++ b/modules/stylix/default.nix @@ -0,0 +1,24 @@ +{ pkgs, ... }: + +{ + stylix.base16Scheme = { + base00 = "282828"; + base01 = "3c3836"; + base02 = "504945"; + base03 = "665c54"; + base04 = "bdae93"; + base05 = "d5c4a1"; + base06 = "ebdbb2"; + base07 = "fbf1c7"; + base08 = "fb4934"; + base09 = "fe8019"; + base0A = "fabd2f"; + base0B = "b8bb26"; + base0C = "8ec07c"; + base0D = "83a598"; + base0E = "d3869b"; + base0F = "d65d0e"; + }; + + stylix.image = ../hyprland/wallpaper.png; +}