Compare commits
No commits in common. "16d47d521476a8380ea17a229b8fa938c64cbb25" and "e28022921a872b5aef26baf562fd27e20715de08" have entirely different histories.
16d47d5214
...
e28022921a
8 changed files with 46 additions and 49 deletions
16
flake.lock
generated
16
flake.lock
generated
|
|
@ -23,21 +23,6 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"catppuccin": {
|
|
||||||
"locked": {
|
|
||||||
"lastModified": 1712482981,
|
|
||||||
"narHash": "sha256-LJOOpTey9Y29C/TK4h9KP7v4HvqDL3mLyT9hSWCfFlI=",
|
|
||||||
"owner": "catppuccin",
|
|
||||||
"repo": "nix",
|
|
||||||
"rev": "4043beb6c792a40e9c513aa261f4ba10601a4457",
|
|
||||||
"type": "github"
|
|
||||||
},
|
|
||||||
"original": {
|
|
||||||
"owner": "catppuccin",
|
|
||||||
"repo": "nix",
|
|
||||||
"type": "github"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"catppuccin-vsc": {
|
"catppuccin-vsc": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
|
@ -355,7 +340,6 @@
|
||||||
"root": {
|
"root": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"agenix": "agenix",
|
"agenix": "agenix",
|
||||||
"catppuccin": "catppuccin",
|
|
||||||
"catppuccin-vsc": "catppuccin-vsc",
|
"catppuccin-vsc": "catppuccin-vsc",
|
||||||
"home-manager": "home-manager_2",
|
"home-manager": "home-manager_2",
|
||||||
"home-manager-unstable": "home-manager-unstable",
|
"home-manager-unstable": "home-manager-unstable",
|
||||||
|
|
|
||||||
|
|
@ -68,8 +68,6 @@
|
||||||
nix-flatpak.url = "github:gmodena/nix-flatpak/main";
|
nix-flatpak.url = "github:gmodena/nix-flatpak/main";
|
||||||
|
|
||||||
nur.url = "github:nix-community/NUR";
|
nur.url = "github:nix-community/NUR";
|
||||||
|
|
||||||
catppuccin.url = "github:catppuccin/nix";
|
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = {...} @ inputs:
|
outputs = {...} @ inputs:
|
||||||
|
|
@ -133,7 +131,6 @@
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
home-manager-unstable.nixosModule
|
home-manager-unstable.nixosModule
|
||||||
nix-index-db-unstable.nixosModules.nix-index
|
nix-index-db-unstable.nixosModules.nix-index
|
||||||
catppuccin.nixosModules.catppuccin
|
|
||||||
./roles/common
|
./roles/common
|
||||||
./roles/desktop
|
./roles/desktop
|
||||||
./roles/kde
|
./roles/kde
|
||||||
|
|
@ -154,7 +151,6 @@
|
||||||
home-manager-unstable.nixosModule
|
home-manager-unstable.nixosModule
|
||||||
nixos-hardware.nixosModules.microsoft-surface-go
|
nixos-hardware.nixosModules.microsoft-surface-go
|
||||||
nix-index-db-unstable.nixosModules.nix-index
|
nix-index-db-unstable.nixosModules.nix-index
|
||||||
catppuccin.nixosModules.catppuccin
|
|
||||||
./roles/common
|
./roles/common
|
||||||
./roles/desktop
|
./roles/desktop
|
||||||
./roles/kde
|
./roles/kde
|
||||||
|
|
@ -173,7 +169,6 @@
|
||||||
jovian.nixosModules.default
|
jovian.nixosModules.default
|
||||||
home-manager-unstable.nixosModule
|
home-manager-unstable.nixosModule
|
||||||
nix-index-db-unstable.nixosModules.nix-index
|
nix-index-db-unstable.nixosModules.nix-index
|
||||||
catppuccin.nixosModules.catppuccin
|
|
||||||
./roles/common
|
./roles/common
|
||||||
./roles/desktop
|
./roles/desktop
|
||||||
./roles/kde
|
./roles/kde
|
||||||
|
|
@ -195,7 +190,6 @@
|
||||||
home-manager-unstable.nixosModule
|
home-manager-unstable.nixosModule
|
||||||
nix-index-db-unstable.nixosModules.nix-index
|
nix-index-db-unstable.nixosModules.nix-index
|
||||||
nixos-hardware.nixosModules.gpd-win-max-2-2023
|
nixos-hardware.nixosModules.gpd-win-max-2-2023
|
||||||
catppuccin.nixosModules.catppuccin
|
|
||||||
./roles/common
|
./roles/common
|
||||||
./roles/desktop
|
./roles/desktop
|
||||||
./roles/kde
|
./roles/kde
|
||||||
|
|
@ -215,7 +209,6 @@
|
||||||
agenix.nixosModules.default
|
agenix.nixosModules.default
|
||||||
home-manager.nixosModule
|
home-manager.nixosModule
|
||||||
nix-index-db.nixosModules.nix-index
|
nix-index-db.nixosModules.nix-index
|
||||||
catppuccin.nixosModules.catppuccin
|
|
||||||
./roles/common
|
./roles/common
|
||||||
./roles/server
|
./roles/server
|
||||||
./machines/Everest
|
./machines/Everest
|
||||||
|
|
|
||||||
|
|
@ -90,18 +90,13 @@
|
||||||
)
|
)
|
||||||
];
|
];
|
||||||
|
|
||||||
catppuccin.flavour = "mocha";
|
|
||||||
|
|
||||||
home-manager = {
|
home-manager = {
|
||||||
backupFileExtension = "hm-backup";
|
backupFileExtension = "hm-backup";
|
||||||
useGlobalPkgs = true;
|
useGlobalPkgs = true;
|
||||||
verbose = true;
|
verbose = true;
|
||||||
sharedModules = [flakeSelf.inputs.catppuccin.homeManagerModules.catppuccin];
|
users.toast = {...}: {
|
||||||
users.toast = {osConfig, ...}: {
|
|
||||||
catppuccin.flavour = osConfig.catppuccin.flavour;
|
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
xdg = {
|
xdg = {
|
||||||
enable = true;
|
|
||||||
userDirs = {
|
userDirs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
createDirectories = true;
|
createDirectories = true;
|
||||||
|
|
@ -118,7 +113,11 @@
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
boot.loader.grub.catppuccin.enable = true;
|
boot.loader.grub = {
|
||||||
|
theme = "${pkgs.catppuccin}/grub";
|
||||||
|
backgroundColor = "#1E1E2E";
|
||||||
|
splashImage = "${pkgs.catppuccin}/grub/background.png";
|
||||||
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
I used to keep the host keys in the repo as a secret, but since I use the
|
I used to keep the host keys in the repo as a secret, but since I use the
|
||||||
|
|
|
||||||
|
|
@ -1,8 +1,25 @@
|
||||||
{...}: {
|
{
|
||||||
|
config,
|
||||||
|
pkgs,
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
themeName =
|
||||||
|
if config.system.nixos.release == "23.11"
|
||||||
|
then "Catppuccin-mocha"
|
||||||
|
else "Catppuccin Mocha";
|
||||||
|
in {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users.toast.programs.bat = {
|
users.toast.programs.bat = {
|
||||||
enable = true;
|
enable = true;
|
||||||
catppuccin.enable = true;
|
config = {
|
||||||
|
theme = "catppuccin-mocha";
|
||||||
|
};
|
||||||
|
themes = {
|
||||||
|
catppuccin-mocha = {
|
||||||
|
src = pkgs.catppuccin;
|
||||||
|
file = "bat/${themeName}.tmTheme";
|
||||||
|
};
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,14 @@
|
||||||
{...}: {
|
{pkgs, ...}: {
|
||||||
home-manager = {
|
home-manager = {
|
||||||
users.toast = {
|
users.toast = {
|
||||||
programs.btop = {
|
programs.btop = {
|
||||||
enable = true;
|
enable = true;
|
||||||
catppuccin.enable = true;
|
settings = {
|
||||||
|
color_theme = "catppuccin_mocha";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
xdg.configFile = {
|
||||||
|
"btop/themes".source = "${pkgs.catppuccin}/btop";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,11 @@
|
||||||
{...}: {
|
{pkgs, ...}: let
|
||||||
|
catppuccinDelta = pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "delta";
|
||||||
|
rev = "main";
|
||||||
|
hash = "sha256-0QQLkfLBVuB2re6tjtPNuOQZNK0MDBAIFgNGHZM8afs=";
|
||||||
|
};
|
||||||
|
in {
|
||||||
home-manager.users.toast = {
|
home-manager.users.toast = {
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
@ -6,8 +13,12 @@
|
||||||
userEmail = "toast003@tutamail.com";
|
userEmail = "toast003@tutamail.com";
|
||||||
delta = {
|
delta = {
|
||||||
enable = true;
|
enable = true;
|
||||||
catppuccin.enable = true;
|
options = {
|
||||||
|
syntax-theme = "catppuccin-mocha";
|
||||||
|
features = "catppuccin-mocha";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
includes = [{path = "${catppuccinDelta}/themes/mocha.gitconfig";}];
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
init.defaultBranch = "main";
|
init.defaultBranch = "main";
|
||||||
diff.colorMoved = "default";
|
diff.colorMoved = "default";
|
||||||
|
|
|
||||||
|
|
@ -7,11 +7,8 @@
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
nil
|
nil
|
||||||
];
|
];
|
||||||
catppuccin = {
|
|
||||||
enable = true;
|
|
||||||
useItalics = true;
|
|
||||||
};
|
|
||||||
settings = {
|
settings = {
|
||||||
|
theme = "catppuccin_mocha";
|
||||||
editor = {
|
editor = {
|
||||||
mouse = true;
|
mouse = true;
|
||||||
cursorline = true;
|
cursorline = true;
|
||||||
|
|
|
||||||
|
|
@ -49,13 +49,4 @@ in {
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
# The catppuccin module only works for home-manager, so this
|
|
||||||
# sets up starship with home-manager using the system config
|
|
||||||
home-manager.users.toast = {osConfig, ...}: {
|
|
||||||
programs.starship = {
|
|
||||||
enable = true;
|
|
||||||
catppuccin.enable = true;
|
|
||||||
settings = osConfig.programs.starship.settings;
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue