Some initial catppucin theming :)

This commit is contained in:
Lillian Violet 2024-04-26 22:59:34 +02:00
parent 37f25a346e
commit 06442942aa
4 changed files with 58 additions and 4 deletions

View file

@ -39,6 +39,21 @@
"type": "gitlab" "type": "gitlab"
} }
}, },
"catppuccin": {
"locked": {
"lastModified": 1713895615,
"narHash": "sha256-SVkxhcL0/IN5fNI2dqr702wXOnzktsm0LCEVGRAJQcY=",
"owner": "catppuccin",
"repo": "nix",
"rev": "a48e70a31616cb63e4794fd3465bff1835cc4246",
"type": "github"
},
"original": {
"owner": "catppuccin",
"repo": "nix",
"type": "github"
}
},
"complement": { "complement": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -817,6 +832,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"catppuccin": "catppuccin",
"conduit": "conduit", "conduit": "conduit",
"disko": "disko", "disko": "disko",
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_3",

View file

@ -17,6 +17,9 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
# catpuccin theme
catppuccin.url = "github:catppuccin/nix";
# Conduit fork without all the fuss and drama # Conduit fork without all the fuss and drama
conduit = { conduit = {
url = "github:girlbossceo/conduwuit"; url = "github:girlbossceo/conduwuit";
@ -79,6 +82,7 @@
self, self,
nixpkgs, nixpkgs,
nixos-generators, nixos-generators,
catppuccin,
disko, disko,
home-manager, home-manager,
sops-nix, sops-nix,
@ -139,8 +143,12 @@
disko.nixosModules.disko disko.nixosModules.disko
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index nix-index-database.nixosModules.nix-index
catppuccin.nixosModules.catppuccin
{ {
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager]; home-manager.sharedModules = [
inputs.catppuccin.homeManagerModules.catppuccin
inputs.plasma-manager.homeManagerModules.plasma-manager
];
} }
]; ];
}; };
@ -156,8 +164,12 @@
disko.nixosModules.disko disko.nixosModules.disko
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index nix-index-database.nixosModules.nix-index
catppuccin.nixosModules.catppuccin
{ {
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager]; home-manager.sharedModules = [
inputs.catppuccin.homeManagerModules.catppuccin
inputs.plasma-manager.homeManagerModules.plasma-manager
];
} }
]; ];
}; };
@ -171,6 +183,12 @@
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
disko.nixosModules.disko disko.nixosModules.disko
simple-nixos-mailserver.nixosModule simple-nixos-mailserver.nixosModule
catppuccin.nixosModules.catppuccin
{
home-manager.sharedModules = [
inputs.catppuccin.homeManagerModules.catppuccin
];
}
]; ];
}; };
@ -185,8 +203,12 @@
disko.nixosModules.disko disko.nixosModules.disko
jovian.nixosModules.jovian jovian.nixosModules.jovian
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
catppuccin.nixosModules.catppuccin
{ {
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager]; home-manager.sharedModules = [
inputs.plasma-manager.homeManagerModules.plasma-manager
inputs.catppuccin.homeManagerModules.catppuccin
];
} }
]; ];
}; };
@ -201,8 +223,12 @@
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
nix-index-database.nixosModules.nix-index nix-index-database.nixosModules.nix-index
catppuccin.nixosModules.catppuccin
{ {
home-manager.sharedModules = [inputs.plasma-manager.homeManagerModules.plasma-manager]; home-manager.sharedModules = [
inputs.plasma-manager.homeManagerModules.plasma-manager
inputs.catppuccin.homeManagerModules.catppuccin
];
} }
]; ];
}; };
@ -211,6 +237,7 @@
system = "armv7l-linux"; system = "armv7l-linux";
specialArgs = {inherit inputs outputs;}; specialArgs = {inherit inputs outputs;};
modules = [ modules = [
catppuccin.nixosModules.catppuccin
# make the module declared by the linger flake available to our config # make the module declared by the linger flake available to our config
#linger.nixosModules."armv7l-linux".default #linger.nixosModules."armv7l-linux".default
#pihole.nixosModules."armv7l-linux".default #pihole.nixosModules."armv7l-linux".default
@ -218,6 +245,11 @@
# > Our main nixos configuration file < # > Our main nixos configuration file <
./nixos/hosts/wheatley/configuration.nix ./nixos/hosts/wheatley/configuration.nix
sops-nix.nixosModules.sops sops-nix.nixosModules.sops
{
home-manager.sharedModules = [
inputs.catppuccin.homeManagerModules.catppuccin
];
}
]; ];
}; };
}; };

View file

@ -9,6 +9,7 @@
# Enable starship # Enable starship
programs.starship = { programs.starship = {
enable = true; enable = true;
catppuccin.enable = true;
}; };
programs.zoxide = { programs.zoxide = {

View file

@ -36,6 +36,11 @@
}; };
}; };
catppuccin.flavour = "macchiato";
catppuccin.enable = true;
console.catppuccin.enable = true;
users.users.lillian = { users.users.lillian = {
isNormalUser = true; isNormalUser = true;
extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf" "docker"]; extraGroups = ["sudo" "networkmanager" "wheel" "vboxsf" "docker"];