liminalOS/reference/modules/default.nix

61 lines
1.6 KiB
Nix
Raw Normal View History

2024-12-30 18:38:42 -08:00
{
config,
pkgs,
lib,
2024-12-31 17:52:29 -08:00
inputs,
2024-12-30 18:38:42 -08:00
...
}:
{
imports = [
../secrets/nixos
../users/youwen/nixos.nix
];
nix.extraOptions = ''
!include ${config.age.secrets.nix_config_github_pat.path}
'';
2024-12-27 21:12:09 -08:00
nix.settings.trusted-users = [ "youwen" ];
2024-12-30 18:38:42 -08:00
liminalOS.theming = {
2024-12-30 18:38:42 -08:00
# wallpaper = "${inputs.wallpapers}/aesthetic/afterglow_city_skyline_at_night.png";
2024-12-31 17:52:29 -08:00
# wallpaper = "${
# pkgs.fetchFromGitHub {
# owner = "dharmx";
# repo = "walls";
# rev = "6bf4d733ebf2b484a37c17d742eb47e5139e6a14";
# hash = "sha256-YdPkJ+Bm0wq/9LpuST6s3Aj13ef670cQOxAEIhJg26E=";
# sparseCheckout = [ "radium" ];
# }
# }/radium/a_mountain_range_at_night.png";
wallpaper = lib.mkDefault (
pkgs.fetchurl {
url = "https://code.youwen.dev/youwen5/wallpapers/raw/branch/main/anime-with-people/eternal-blue.jpg";
hash = "sha256-PCyWyFgMxVYgDjPMtFbQoMTzN61zdUtiP6Lmgc3dRfk=";
}
);
base16Scheme = lib.mkDefault "${pkgs.base16-schemes}/share/themes/oxocarbon-dark.yaml";
polarity = lib.mkDefault "dark";
2024-12-30 18:38:42 -08:00
};
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";
};
};
}