feat: add catppuccin

This commit is contained in:
Youwen Wu 2024-07-11 17:25:22 -07:00
parent aa199a1608
commit ad1b961c4c
Signed by: youwen5
GPG key ID: 865658ED1FE61EC3
3 changed files with 45 additions and 3 deletions

View file

@ -1,5 +1,20 @@
{
"nodes": {
"catppuccin": {
"locked": {
"lastModified": 1720472194,
"narHash": "sha256-CYscFEts6tyvosc1T29nxhzIYJAj/1CCEkV3ZMzSN/c=",
"owner": "catppuccin",
"repo": "nix",
"rev": "d75d5803852fb0833767dc969a4581ac13204e22",
"type": "github"
},
"original": {
"owner": "catppuccin",
"repo": "nix",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -216,6 +231,7 @@
},
"root": {
"inputs": {
"catppuccin": "catppuccin",
"home-manager": "home-manager",
"hyprland": "hyprland",
"nixpkgs": "nixpkgs_2"

View file

@ -8,20 +8,28 @@
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland.url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
catppuccin.url = "github:catppuccin/nix";
};
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
outputs = { self, nixpkgs, home-manager, catppuccin, ... }@inputs: {
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
system = "x86_64-linux";
modules = [
./configuration.nix
catppuccin.nixosModules.catppuccin
home-manager.nixosModules.home-manager
{
home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true;
home-manager.users.youwen = import ./home.nix;
home-manager.users.youwen = {
imports = [
./home.nix
catppuccin.homeManagerModules.catppuccin
];
};
}
];
};

View file

@ -110,7 +110,24 @@
lazygit
];
services.dunst.enable = true;
services.dunst = {
enable = true;
catppuccin.enable = true;
};
catppuccin = {
flavor = "macchiato";
};
programs.fzf = {
enable = true;
catppuccin.enable = true;
};
programs.rofi = {
enable = true;
catppuccin.enable = true;
};
wayland.windowManager.hyprland.enable = true;
wayland.windowManager.hyprland.settings = {
@ -490,6 +507,7 @@
vimAlias = true;
};
# This value determines the home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new home Manager release introduces backwards