From 98f8de52c31f436a895ea13cdb5b6f312fa1e810 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Thu, 15 Aug 2024 11:02:53 -0400 Subject: [PATCH] hosts: add preliminary stylix configs --- hosts/common/default.nix | 53 ------------------------------------ hosts/fallarbor/default.nix | 1 + hosts/fallarbor/stylix.nix | 54 +++++++++++++++++++++++++++++++++++++ hosts/lavaridge/default.nix | 1 + hosts/lavaridge/stylix.nix | 54 +++++++++++++++++++++++++++++++++++++ hosts/mauville/default.nix | 1 + hosts/mauville/stylix.nix | 54 +++++++++++++++++++++++++++++++++++++ hosts/petalburg/default.nix | 1 + hosts/petalburg/stylix.nix | 54 +++++++++++++++++++++++++++++++++++++ hosts/rustboro/default.nix | 1 + hosts/rustboro/stylix.nix | 54 +++++++++++++++++++++++++++++++++++++ 11 files changed, 275 insertions(+), 53 deletions(-) create mode 100644 hosts/fallarbor/stylix.nix create mode 100644 hosts/lavaridge/stylix.nix create mode 100644 hosts/mauville/stylix.nix create mode 100644 hosts/petalburg/stylix.nix create mode 100644 hosts/rustboro/stylix.nix diff --git a/hosts/common/default.nix b/hosts/common/default.nix index df5647ed..4341df1c 100644 --- a/hosts/common/default.nix +++ b/hosts/common/default.nix @@ -9,57 +9,4 @@ ]; environment.systemPackages = with pkgs; [git inxi python3]; - - stylix = { - enable = true; - base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-moon.yaml"; - - image = let - wallpapers = builtins.fetchGit { - url = "https://github.com/alyraffauf/wallpapers.git"; - rev = "21018eef106928c7c44d206c6c3730cce5f781f3"; - ref = "master"; - }; - in "${wallpapers}/wallhaven-mp886k.jpg"; - - imageScalingMode = "fill"; - polarity = "dark"; - - cursor = { - name = "Bibata-Modern-Classic"; - package = pkgs.bibata-cursors; - size = 24; - }; - - fonts = { - monospace = { - name = "UbuntuSansMono Nerd Font"; - package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; - }; - - sansSerif = { - name = "UbuntuSans Nerd Font"; - package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; - }; - - serif = { - name = "Vegur"; - package = pkgs.vegur; - }; - - sizes = { - applications = 12; - desktop = 11; - popups = 12; - terminal = 13; - }; - }; - - opacity = { - applications = 1.0; - desktop = 0.8; - terminal = 0.8; - popups = 0.8; - }; - }; } diff --git a/hosts/fallarbor/default.nix b/hosts/fallarbor/default.nix index 6b12ea6c..babf1912 100644 --- a/hosts/fallarbor/default.nix +++ b/hosts/fallarbor/default.nix @@ -10,6 +10,7 @@ ./disko.nix ./home.nix ./secrets.nix + ./stylix.nix self.inputs.nixhw.nixosModules.framework-13-intel-11th ]; diff --git a/hosts/fallarbor/stylix.nix b/hosts/fallarbor/stylix.nix new file mode 100644 index 00000000..1960367c --- /dev/null +++ b/hosts/fallarbor/stylix.nix @@ -0,0 +1,54 @@ +{pkgs, ...}: { + stylix = { + enable = true; + base16Scheme = "${pkgs.base16-schemes}/share/themes/default-dark.yaml"; + + image = let + wallpapers = builtins.fetchGit { + url = "https://github.com/alyraffauf/wallpapers.git"; + rev = "21018eef106928c7c44d206c6c3730cce5f781f3"; + ref = "master"; + }; + in "${wallpapers}/wallhaven-mp886k.jpg"; + + imageScalingMode = "fill"; + polarity = "dark"; + + cursor = { + name = "Bibata-Modern-Classic"; + package = pkgs.bibata-cursors; + size = 24; + }; + + fonts = { + monospace = { + name = "UbuntuSansMono Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + sansSerif = { + name = "UbuntuSans Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + serif = { + name = "Vegur"; + package = pkgs.vegur; + }; + + sizes = { + applications = 12; + desktop = 11; + popups = 12; + terminal = 13; + }; + }; + + opacity = { + applications = 1.0; + desktop = 0.8; + terminal = 0.8; + popups = 0.8; + }; + }; +} diff --git a/hosts/lavaridge/default.nix b/hosts/lavaridge/default.nix index abac8145..6b2891a2 100644 --- a/hosts/lavaridge/default.nix +++ b/hosts/lavaridge/default.nix @@ -11,6 +11,7 @@ ./disko.nix ./home.nix ./secrets.nix + ./stylix.nix self.inputs.nixhw.nixosModules.framework-13-amd-7000 ]; diff --git a/hosts/lavaridge/stylix.nix b/hosts/lavaridge/stylix.nix new file mode 100644 index 00000000..704f82ef --- /dev/null +++ b/hosts/lavaridge/stylix.nix @@ -0,0 +1,54 @@ +{pkgs, ...}: { + stylix = { + enable = true; + base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-moon.yaml"; + + image = let + wallpapers = builtins.fetchGit { + url = "https://github.com/alyraffauf/wallpapers.git"; + rev = "21018eef106928c7c44d206c6c3730cce5f781f3"; + ref = "master"; + }; + in "${wallpapers}/wallhaven-mp886k.jpg"; + + imageScalingMode = "fill"; + polarity = "dark"; + + cursor = { + name = "Bibata-Modern-Classic"; + package = pkgs.bibata-cursors; + size = 24; + }; + + fonts = { + monospace = { + name = "UbuntuSansMono Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + sansSerif = { + name = "UbuntuSans Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + serif = { + name = "Vegur"; + package = pkgs.vegur; + }; + + sizes = { + applications = 12; + desktop = 11; + popups = 12; + terminal = 13; + }; + }; + + opacity = { + applications = 1.0; + desktop = 0.8; + terminal = 0.8; + popups = 0.8; + }; + }; +} diff --git a/hosts/mauville/default.nix b/hosts/mauville/default.nix index 55fa826c..38505509 100644 --- a/hosts/mauville/default.nix +++ b/hosts/mauville/default.nix @@ -15,6 +15,7 @@ in { ./disko.nix ./home.nix ./secrets.nix + ./stylix.nix self.inputs.nixhw.nixosModules.common-amd-cpu self.inputs.nixhw.nixosModules.common-amd-gpu self.inputs.nixhw.nixosModules.common-bluetooth diff --git a/hosts/mauville/stylix.nix b/hosts/mauville/stylix.nix new file mode 100644 index 00000000..4a1b7e9e --- /dev/null +++ b/hosts/mauville/stylix.nix @@ -0,0 +1,54 @@ +{pkgs, ...}: { + stylix = { + enable = true; + base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-dawn.yaml"; + + image = let + wallpapers = builtins.fetchGit { + url = "https://github.com/alyraffauf/wallpapers.git"; + rev = "21018eef106928c7c44d206c6c3730cce5f781f3"; + ref = "master"; + }; + in "${wallpapers}/wallhaven-mp886k.jpg"; + + imageScalingMode = "fill"; + polarity = "light"; + + cursor = { + name = "Bibata-Modern-Classic"; + package = pkgs.bibata-cursors; + size = 24; + }; + + fonts = { + monospace = { + name = "UbuntuSansMono Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + sansSerif = { + name = "UbuntuSans Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + serif = { + name = "Vegur"; + package = pkgs.vegur; + }; + + sizes = { + applications = 12; + desktop = 11; + popups = 12; + terminal = 13; + }; + }; + + opacity = { + applications = 1.0; + desktop = 0.8; + terminal = 0.8; + popups = 0.8; + }; + }; +} diff --git a/hosts/petalburg/default.nix b/hosts/petalburg/default.nix index 4fbcb981..fb30c5ad 100644 --- a/hosts/petalburg/default.nix +++ b/hosts/petalburg/default.nix @@ -9,6 +9,7 @@ ./disko.nix ./home.nix ./secrets.nix + ./stylix.nix self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th ]; diff --git a/hosts/petalburg/stylix.nix b/hosts/petalburg/stylix.nix new file mode 100644 index 00000000..704f82ef --- /dev/null +++ b/hosts/petalburg/stylix.nix @@ -0,0 +1,54 @@ +{pkgs, ...}: { + stylix = { + enable = true; + base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-moon.yaml"; + + image = let + wallpapers = builtins.fetchGit { + url = "https://github.com/alyraffauf/wallpapers.git"; + rev = "21018eef106928c7c44d206c6c3730cce5f781f3"; + ref = "master"; + }; + in "${wallpapers}/wallhaven-mp886k.jpg"; + + imageScalingMode = "fill"; + polarity = "dark"; + + cursor = { + name = "Bibata-Modern-Classic"; + package = pkgs.bibata-cursors; + size = 24; + }; + + fonts = { + monospace = { + name = "UbuntuSansMono Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + sansSerif = { + name = "UbuntuSans Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + serif = { + name = "Vegur"; + package = pkgs.vegur; + }; + + sizes = { + applications = 12; + desktop = 11; + popups = 12; + terminal = 13; + }; + }; + + opacity = { + applications = 1.0; + desktop = 0.8; + terminal = 0.8; + popups = 0.8; + }; + }; +} diff --git a/hosts/rustboro/default.nix b/hosts/rustboro/default.nix index ac53eb62..ad911fd4 100644 --- a/hosts/rustboro/default.nix +++ b/hosts/rustboro/default.nix @@ -10,6 +10,7 @@ ./disko.nix ./home.nix ./secrets.nix + ./stylix.nix self.inputs.nixhw.nixosModules.thinkpad-t440p ]; diff --git a/hosts/rustboro/stylix.nix b/hosts/rustboro/stylix.nix new file mode 100644 index 00000000..4a1b7e9e --- /dev/null +++ b/hosts/rustboro/stylix.nix @@ -0,0 +1,54 @@ +{pkgs, ...}: { + stylix = { + enable = true; + base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine-dawn.yaml"; + + image = let + wallpapers = builtins.fetchGit { + url = "https://github.com/alyraffauf/wallpapers.git"; + rev = "21018eef106928c7c44d206c6c3730cce5f781f3"; + ref = "master"; + }; + in "${wallpapers}/wallhaven-mp886k.jpg"; + + imageScalingMode = "fill"; + polarity = "light"; + + cursor = { + name = "Bibata-Modern-Classic"; + package = pkgs.bibata-cursors; + size = 24; + }; + + fonts = { + monospace = { + name = "UbuntuSansMono Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + sansSerif = { + name = "UbuntuSans Nerd Font"; + package = pkgs.nerdfonts.override {fonts = ["UbuntuSans"];}; + }; + + serif = { + name = "Vegur"; + package = pkgs.vegur; + }; + + sizes = { + applications = 12; + desktop = 11; + popups = 12; + terminal = 13; + }; + }; + + opacity = { + applications = 1.0; + desktop = 0.8; + terminal = 0.8; + popups = 0.8; + }; + }; +}