From ea7a9cf19129b9d72982ca2cb280c7fd1c4bdd77 Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Thu, 30 Jan 2025 08:27:42 -0500 Subject: nixos/catppuccin: init --- modules/nixos/tweaks/catppuccin.nix | 29 +++++++++++++++++++++++++++++ modules/nixos/tweaks/default.nix | 5 +++++ 2 files changed, 34 insertions(+) create mode 100644 modules/nixos/tweaks/catppuccin.nix create mode 100644 modules/nixos/tweaks/default.nix (limited to 'modules/nixos/tweaks') diff --git a/modules/nixos/tweaks/catppuccin.nix b/modules/nixos/tweaks/catppuccin.nix new file mode 100644 index 0000000..439dfb4 --- /dev/null +++ b/modules/nixos/tweaks/catppuccin.nix @@ -0,0 +1,29 @@ +{ + config, + lib, + inputs, + ... +}: +let + cfg = config.tweaks.catppuccin; +in +{ + options.tweaks.catppuccin = { + enable = lib.mkEnableOption "Catppuccin themeing"; + }; + + imports = [ + inputs.catppuccin.nixosModules.catppuccin + ]; + + config = lib.mkIf cfg.enable { + catppuccin = { + enable = true; + accent = "mauve"; + flavor = "mocha"; + + # Don't use modules with IFD by default + tty.enable = false; + }; + }; +} diff --git a/modules/nixos/tweaks/default.nix b/modules/nixos/tweaks/default.nix new file mode 100644 index 0000000..fc1193a --- /dev/null +++ b/modules/nixos/tweaks/default.nix @@ -0,0 +1,5 @@ +{ + imports = [ + ./catppuccin.nix + ]; +} -- cgit v1.2.3