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"
|
"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": {
|
"crane": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -290,6 +305,7 @@
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
|
"catppuccin": "catppuccin",
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"lanzaboote": "lanzaboote",
|
"lanzaboote": "lanzaboote",
|
||||||
|
|
|
@ -15,6 +15,8 @@
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
catppuccin.url = "github:Stonks3141/ctp-nix";
|
||||||
|
|
||||||
lanzaboote = {
|
lanzaboote = {
|
||||||
url = "github:nix-community/lanzaboote";
|
url = "github:nix-community/lanzaboote";
|
||||||
inputs = {
|
inputs = {
|
||||||
|
|
|
@ -32,6 +32,7 @@
|
||||||
./desktop.nix
|
./desktop.nix
|
||||||
lanzaboote.nixosModules.lanzaboote
|
lanzaboote.nixosModules.lanzaboote
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
catppuccin.nixosModules.catppuccin
|
||||||
]
|
]
|
||||||
++ nixos;
|
++ nixos;
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
pkgs,
|
pkgs,
|
||||||
config,
|
config,
|
||||||
agenix,
|
agenix,
|
||||||
|
catppuccin,
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
username = "leo";
|
username = "leo";
|
||||||
|
@ -120,6 +121,10 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
hm = {
|
hm = {
|
||||||
|
imports = [
|
||||||
|
catppuccin.homeManagerModules.catppuccin
|
||||||
|
];
|
||||||
|
|
||||||
home.packages = with pkgs; let
|
home.packages = with pkgs; let
|
||||||
inherit (pkgs.stdenv.hostPlatform) system;
|
inherit (pkgs.stdenv.hostPlatform) system;
|
||||||
in [
|
in [
|
||||||
|
@ -143,11 +148,6 @@ in {
|
||||||
sccache
|
sccache
|
||||||
shotcut
|
shotcut
|
||||||
vesktop
|
vesktop
|
||||||
|
|
||||||
(catppuccin-gtk.override {
|
|
||||||
variant = "macchiato";
|
|
||||||
accents = ["sky" "sapphire"];
|
|
||||||
})
|
|
||||||
];
|
];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
@ -156,6 +156,15 @@ in {
|
||||||
pinentryFlavor = "gnome3";
|
pinentryFlavor = "gnome3";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
gtk = {
|
||||||
|
enable = true;
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
flavour = "macchiato";
|
||||||
|
accent = "sky";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs = {
|
nixpkgs = {
|
||||||
|
|
Loading…
Reference in a new issue