📦 Created config files with common code
- Created common.nix for various configs - Created theme.nix for theme related configs - Moved some code to more logical files - Moved some standalone files into nix multiline strings, in order to inject data
This commit is contained in:
@ -1,10 +1,13 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
theme = import ../theme.nix;
|
||||
flavor = theme.flavor;
|
||||
in
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
(catppuccin-sddm.override {
|
||||
flavor = "mocha";
|
||||
font = "Noto Sans";
|
||||
flavor = flavor;
|
||||
font = "JetBrainsMono";
|
||||
fontSize = "9";
|
||||
background = "${../catppuccin_high.png}";
|
||||
loginBackground = true;
|
||||
@ -13,7 +16,7 @@
|
||||
|
||||
services.displayManager.sddm = {
|
||||
enable = true;
|
||||
theme = "catppuccin-mocha";
|
||||
theme = "catppuccin-${flavor}";
|
||||
autoNumlock = true; # Enable numlock at login # TODO doesn't work
|
||||
wayland.enable = true;
|
||||
package = pkgs.kdePackages.sddm;
|
||||
|
Reference in New Issue
Block a user