Compare commits
11 Commits
96849b3756
...
f7ff114619
| Author | SHA1 | Date | |
|---|---|---|---|
| f7ff114619 | |||
| 4a8750395a | |||
| b6baf481bc | |||
| 55943b3c1b | |||
| 46b33da8e0 | |||
| ff2872953f | |||
| c7bcac0f6a | |||
| c2b2114abd | |||
| 3afb05a0fe | |||
| 940b1d3aa7 | |||
| 6809f3b6c3 |
+8
-9
@@ -340,7 +340,13 @@ This is the top of the machine hierarchy
|
|||||||
./networking.nix
|
./networking.nix
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
inputs.home-manager.nixosModules.home-manager
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
inputs.catppuccin.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
|
catppuccin = {
|
||||||
|
enable = true;
|
||||||
|
flavor = "mocha";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
@@ -1115,21 +1121,14 @@ This file sets up wayland
|
|||||||
** =generated/out_of_tree/machines/traveldroid/gtk.nix=
|
** =generated/out_of_tree/machines/traveldroid/gtk.nix=
|
||||||
This file configures gtk
|
This file configures gtk
|
||||||
#+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/gtk.nix :noweb tangle :mkdirp yes :eval never-html
|
#+BEGIN_SRC nix :tangle generated/out_of_tree/machines/traveldroid/gtk.nix :noweb tangle :mkdirp yes :eval never-html
|
||||||
{ pkgs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Install the GTK theme and icon theme
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
catppuccin-gtk-mocha # or inputs.catppuccin.packages.${pkgs.system}.catppuccin-gtk-mocha
|
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set environment variables to enforce the theme
|
#SEE SESSIONS.NIX FOR SESSION VARIABLES
|
||||||
environment.sessionVariables = {
|
|
||||||
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
|
||||||
GTK_ICON_THEME = "Papirus-Dark";
|
|
||||||
GTK_ENABLE_DARK_MODE = "1";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|||||||
+3
-1
@@ -15,6 +15,7 @@
|
|||||||
url = "github:catppuccin/nix";
|
url = "github:catppuccin/nix";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
|
||||||
zen-browser = {
|
zen-browser = {
|
||||||
url = "github:youwen5/zen-browser-flake";
|
url = "github:youwen5/zen-browser-flake";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
@@ -52,7 +53,8 @@ outputs =
|
|||||||
# Import machine-specific configurations
|
# Import machine-specific configurations
|
||||||
./generated/out_of_tree/machines/traveldroid/top.nix
|
./generated/out_of_tree/machines/traveldroid/top.nix
|
||||||
# Catppuccin theme module
|
# Catppuccin theme module
|
||||||
inputs.catppuccin.nixosModules.catppuccin
|
inputs.catppuccin.nixosModules.default
|
||||||
|
|
||||||
# Anchoring all the other nixes
|
# Anchoring all the other nixes
|
||||||
./generated/top.nix
|
./generated/top.nix
|
||||||
# Home Manager module
|
# Home Manager module
|
||||||
|
|||||||
@@ -1,16 +1,9 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Install the GTK theme and icon theme
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
catppuccin-gtk # or inputs.catppuccin.packages.${pkgs.system}.catppuccin-gtk-mocha
|
|
||||||
papirus-icon-theme
|
papirus-icon-theme
|
||||||
];
|
];
|
||||||
|
|
||||||
# Set environment variables to enforce the theme
|
#SEE SESSIONS.NIX FOR SESSION VARIABLES
|
||||||
environment.sessionVariables = {
|
|
||||||
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
|
||||||
GTK_ICON_THEME = "Papirus-Dark";
|
|
||||||
GTK_ENABLE_DARK_MODE = "1";
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user