use ctp-nix for gtk theme
This commit is contained in:
parent
1d191fa1ad
commit
3e569821da
4 changed files with 33 additions and 5 deletions
16
flake.lock
16
flake.lock
|
@ -22,6 +22,21 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"catppuccin": {
|
||||
"locked": {
|
||||
"lastModified": 1702771919,
|
||||
"narHash": "sha256-l6zkit3WPXuukWrQDpaNVNEQ2Y0lq1K+7OQmvtqFIJU=",
|
||||
"owner": "Stonks3141",
|
||||
"repo": "ctp-nix",
|
||||
"rev": "4a76ba2815b6db301597630d14e4e40f4fb5fb0f",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "Stonks3141",
|
||||
"repo": "ctp-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"crane": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -290,6 +305,7 @@
|
|||
"root": {
|
||||
"inputs": {
|
||||
"agenix": "agenix",
|
||||
"catppuccin": "catppuccin",
|
||||
"flake-parts": "flake-parts",
|
||||
"home-manager": "home-manager_2",
|
||||
"lanzaboote": "lanzaboote",
|
||||
|
|
|
@ -15,6 +15,8 @@
|
|||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
catppuccin.url = "github:Stonks3141/ctp-nix";
|
||||
|
||||
lanzaboote = {
|
||||
url = "github:nix-community/lanzaboote";
|
||||
inputs = {
|
||||
|
|
|
@ -32,6 +32,7 @@
|
|||
./desktop.nix
|
||||
lanzaboote.nixosModules.lanzaboote
|
||||
home-manager.nixosModules.home-manager
|
||||
catppuccin.nixosModules.catppuccin
|
||||
]
|
||||
++ nixos;
|
||||
in {
|
||||
|
|
|
@ -3,6 +3,7 @@
|
|||
pkgs,
|
||||
config,
|
||||
agenix,
|
||||
catppuccin,
|
||||
...
|
||||
}: let
|
||||
username = "leo";
|
||||
|
@ -120,6 +121,10 @@ in {
|
|||
};
|
||||
|
||||
hm = {
|
||||
imports = [
|
||||
catppuccin.homeManagerModules.catppuccin
|
||||
];
|
||||
|
||||
home.packages = with pkgs; let
|
||||
inherit (pkgs.stdenv.hostPlatform) system;
|
||||
in [
|
||||
|
@ -143,11 +148,6 @@ in {
|
|||
sccache
|
||||
shotcut
|
||||
vesktop
|
||||
|
||||
(catppuccin-gtk.override {
|
||||
variant = "macchiato";
|
||||
accents = ["sky" "sapphire"];
|
||||
})
|
||||
];
|
||||
|
||||
services = {
|
||||
|
@ -156,6 +156,15 @@ in {
|
|||
pinentryFlavor = "gnome3";
|
||||
};
|
||||
};
|
||||
|
||||
gtk = {
|
||||
enable = true;
|
||||
catppuccin = {
|
||||
enable = true;
|
||||
flavour = "macchiato";
|
||||
accent = "sky";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
nixpkgs = {
|
||||
|
|
Loading…
Reference in a new issue