hosts: add preliminary stylix configs

This commit is contained in:
Aly Raffauf 2024-08-15 11:02:53 -04:00
parent 7eeb61e93e
commit 98f8de52c3
11 changed files with 275 additions and 53 deletions

View file

@ -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;
};
};
}

View file

@ -10,6 +10,7 @@
./disko.nix
./home.nix
./secrets.nix
./stylix.nix
self.inputs.nixhw.nixosModules.framework-13-intel-11th
];

View file

@ -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;
};
};
}

View file

@ -11,6 +11,7 @@
./disko.nix
./home.nix
./secrets.nix
./stylix.nix
self.inputs.nixhw.nixosModules.framework-13-amd-7000
];

View file

@ -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;
};
};
}

View file

@ -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

54
hosts/mauville/stylix.nix Normal file
View file

@ -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;
};
};
}

View file

@ -9,6 +9,7 @@
./disko.nix
./home.nix
./secrets.nix
./stylix.nix
self.inputs.nixhw.nixosModules.lenovo-yoga-9i-intel-13th
];

View file

@ -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;
};
};
}

View file

@ -10,6 +10,7 @@
./disko.nix
./home.nix
./secrets.nix
./stylix.nix
self.inputs.nixhw.nixosModules.thinkpad-t440p
];

54
hosts/rustboro/stylix.nix Normal file
View file

@ -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;
};
};
}