feat(sddm): use cattpuccin

This commit is contained in:
2025-08-09 20:14:31 +08:00
parent e1e3e96626
commit 90cd4bdd84
4 changed files with 38 additions and 6 deletions

21
flake.lock generated
View File

@@ -98,6 +98,26 @@
"type": "github" "type": "github"
} }
}, },
"catppuccin": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1754950929,
"narHash": "sha256-75hsUMshZ5ZlO/X2JWfZqKHPM66uhUNsDG/Zozwh/xs=",
"owner": "catppuccin",
"repo": "nix",
"rev": "45512611f1537c75e439d508409efc6901286645",
"type": "github"
},
"original": {
"owner": "catppuccin",
"repo": "nix",
"type": "github"
}
},
"chaotic": { "chaotic": {
"inputs": { "inputs": {
"flake-schemas": "flake-schemas", "flake-schemas": "flake-schemas",
@@ -1031,6 +1051,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"catppuccin": "catppuccin",
"chaotic": "chaotic", "chaotic": "chaotic",
"darkly": "darkly", "darkly": "darkly",
"fenix": "fenix", "fenix": "fenix",

View File

@@ -51,6 +51,9 @@
zen.url = "github:0xc000022070/zen-browser-flake"; zen.url = "github:0xc000022070/zen-browser-flake";
zen.inputs.nixpkgs.follows = "nixpkgs"; zen.inputs.nixpkgs.follows = "nixpkgs";
catppuccin.url = "github:catppuccin/nix";
catppuccin.inputs.nixpkgs.follows = "nixpkgs";
infuse.url = "git+https://codeberg.org/amjoseph/infuse.nix"; infuse.url = "git+https://codeberg.org/amjoseph/infuse.nix";
infuse.flake = false; infuse.flake = false;
@@ -198,6 +201,7 @@
inputs.impermanence.nixosModules.impermanence inputs.impermanence.nixosModules.impermanence
inputs.home-manager.nixosModules.default inputs.home-manager.nixosModules.default
inputs.niri.nixosModules.niri inputs.niri.nixosModules.niri
inputs.catppuccin.nixosModules.catppuccin
home home
pkgsConf pkgsConf
]; ];

View File

@@ -12,6 +12,19 @@ lib.my.makeSwitch {
"style" "style"
]; ];
config' = { config' = {
catppuccin.sddm = {
enable = true;
font = "Jetbrains Mono";
fontSize = "18";
};
services.displayManager.sddm = {
package = pkgs.kdePackages.sddm;
settings.Theme = {
CursorTheme = "breeze-dark";
CursorSize = 24;
};
};
my.home = { my.home = {
stylix = { stylix = {
enable = true; enable = true;

View File

@@ -2,7 +2,6 @@ args@{
lib, lib,
config, config,
pkgs, pkgs,
username,
... ...
}: }:
let let
@@ -49,14 +48,9 @@ in
package = pkg; package = pkg;
}; };
services.displayManager = { services.displayManager = {
autoLogin = {
enable = true;
user = username;
};
sddm = { sddm = {
enable = true; enable = true;
wayland.enable = true; wayland.enable = true;
autoLogin.relogin = true;
}; };
}; };
my.home = { my.home = {