mirror of
https://github.com/youwen5/nixos.git
synced 2025-02-07 21:11:11 -08:00
feat: add light and dark mode specialisations
Some checks are pending
Check flake / check (push) Waiting to run
Some checks are pending
Check flake / check (push) Waiting to run
This commit is contained in:
parent
3010a9529e
commit
910216d138
2 changed files with 28 additions and 10 deletions
|
@ -94,4 +94,22 @@
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "24.05"; # Did you read the comment?
|
system.stateVersion = "24.05"; # Did you read the comment?
|
||||||
|
|
||||||
|
specialisation = {
|
||||||
|
dawn.configuration = {
|
||||||
|
environment.etc."specialisation".text = "dawn";
|
||||||
|
liminalOS.theming = {
|
||||||
|
wallpaper = pkgs.fetchurl {
|
||||||
|
url = "https://w.wallhaven.cc/full/kx/wallhaven-kxoqx6.jpg";
|
||||||
|
hash = "sha256-1cYbDcWutMHaNgvgRZiXFJpxkCZdilrKbjRD3/y25Yc=";
|
||||||
|
};
|
||||||
|
# base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml";
|
||||||
|
base16Scheme = null;
|
||||||
|
polarity = "light";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
dusk.configuration = {
|
||||||
|
environment.etc."specialisation".text = "dusk";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
|
|
||||||
nix.settings.trusted-users = [ "youwen" ];
|
nix.settings.trusted-users = [ "youwen" ];
|
||||||
|
|
||||||
liminalOS.theming = lib.mkDefault {
|
liminalOS.theming = {
|
||||||
# wallpaper = "${inputs.wallpapers}/aesthetic/afterglow_city_skyline_at_night.png";
|
# wallpaper = "${inputs.wallpapers}/aesthetic/afterglow_city_skyline_at_night.png";
|
||||||
# wallpaper = "${
|
# wallpaper = "${
|
||||||
# pkgs.fetchFromGitHub {
|
# pkgs.fetchFromGitHub {
|
||||||
|
@ -28,15 +28,15 @@
|
||||||
# sparseCheckout = [ "radium" ];
|
# sparseCheckout = [ "radium" ];
|
||||||
# }
|
# }
|
||||||
# }/radium/a_mountain_range_at_night.png";
|
# }/radium/a_mountain_range_at_night.png";
|
||||||
wallpaper = pkgs.fetchurl {
|
|
||||||
|
wallpaper = lib.mkDefault (
|
||||||
|
pkgs.fetchurl {
|
||||||
url = "https://code.youwen.dev/youwen5/wallpapers/raw/branch/main/anime-with-people/eternal-blue.jpg";
|
url = "https://code.youwen.dev/youwen5/wallpapers/raw/branch/main/anime-with-people/eternal-blue.jpg";
|
||||||
hash = "sha256-PCyWyFgMxVYgDjPMtFbQoMTzN61zdUtiP6Lmgc3dRfk=";
|
hash = "sha256-PCyWyFgMxVYgDjPMtFbQoMTzN61zdUtiP6Lmgc3dRfk=";
|
||||||
};
|
}
|
||||||
|
);
|
||||||
|
|
||||||
# if you don't manually set polarity when using manual colorscheme, GTK
|
base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml";
|
||||||
# apps won't respect colorscheme
|
polarity = lib.mkDefault "dark";
|
||||||
# base16Scheme = "${pkgs.base16-schemes}/share/themes/rose-pine.yaml";
|
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml";
|
|
||||||
polarity = "dark";
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue