more stuff moved to options and some more consistency

This commit is contained in:
twoneis 2025-03-09 14:52:03 +01:00
parent 6d9dbe38cb
commit 4ab970aea9
28 changed files with 394 additions and 298 deletions

View file

@ -5,22 +5,14 @@
...
}: let
inherit (lib) mkIf;
inherit (config) conf;
inherit (config) conf theme;
cfg = config.conf.niri;
in
mkIf conf.niri.enable {
mkIf cfg.enable {
environment.sessionVariables = {
NIXOS_OZONE_WL = "1";
};
environment.systemPackages = [
(pkgs.catppuccin-sddm.override {
flavor = "mocha";
font = "Fira Code Nerd Font";
background = "${./sddm.wallpaper.png}";
loginBackground = true;
})
];
services.greetd = {
enable = true;
settings = import ./greetd.nix {
@ -115,9 +107,9 @@ in
defaultTimeout = 5000;
maxVisible = 3;
font = "AlegreyaSans";
backgroundColor = config.theme.base;
borderColor = config.theme.muted;
textColor = config.theme.text;
backgroundColor = theme.base;
borderColor = theme.muted;
textColor = theme.text;
borderSize = 1;
borderRadius = 8;
icons = false;