Compare commits

..

5 commits

6 changed files with 62 additions and 6 deletions

View file

@ -0,0 +1,27 @@
{ pkgs, ... }:
let
catppuccinBtop = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "btop";
# I know fetiching from master is not best practice but idc this is not going to change often
# Latest commit rn is c6469190f2ecf25f017d6120bf4e050e6b1d17af
rev = "master";
hash = "sha256-jodJl4f2T9ViNqsY9fk8IV62CrpC5hy7WK3aRpu70Cs=";
};
in
{
home-manager = {
users.toast = {
programs.btop = {
enable = true;
settings = {
color_theme = "catppuccin_mocha";
};
};
xdg.configFile = {
"btop/themes".source = "${catppuccinBtop}/themes";
};
};
};
}

View file

@ -12,6 +12,7 @@
./git.nix ./git.nix
./starship.nix ./starship.nix
./bat.nix ./bat.nix
./btop.nix
]; ];
# Some programs dont have a programs.*.enable option, so I install their package here # Some programs dont have a programs.*.enable option, so I install their package here
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
@ -23,7 +24,6 @@
ncdu ncdu
tree tree
btdu btdu
btop
iperf3 iperf3
restic restic
]; ];

View file

@ -7,7 +7,6 @@
delta.enable = true; delta.enable = true;
extraConfig = { extraConfig = {
init.defaultBranch = "main"; init.defaultBranch = "main";
pull.rebase = "interactive";
commit.verbose = "true"; commit.verbose = "true";
}; };
}; };

View file

@ -1,7 +1,16 @@
{ config, ... }: { pkgs, ... }:
let
catppuccinFlavour = "mocha";
catppuccinStarship = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "starship";
# Latest commit is 5629d2356f62a9f2f8efad3ff37476c19969bd4f
rev = "main";
hash = "sha256-nsRuxQFKbQkyEI4TXgvAjcroVdG+heKX5Pauq/4Ota0=";
} + /palettes/${catppuccinFlavour}.toml;
in
{ {
programs.starship = { programs.starship = with builtins; {
enable = true; enable = true;
settings = { settings = {
nix_shell = { nix_shell = {
@ -17,6 +26,9 @@
disabled = false; disabled = false;
read_only = " 󰌾"; read_only = " 󰌾";
}; };
}; palette = "catppuccin_${catppuccinFlavour}";
} //
# Add the catppuccin palette to the settings file
(fromTOML (readFile catppuccinStarship));
}; };
} }

View file

@ -6,6 +6,7 @@
./firefox.nix ./firefox.nix
./skanpage.nix ./skanpage.nix
./neochat.nix ./neochat.nix
./konsole.nix
]; ];
# Enable the kde partition manager # Enable the kde partition manager

View file

@ -0,0 +1,17 @@
{ pkgs, ... }:
let
catppuccinKonsole = pkgs.fetchFromGitHub {
owner = "catppuccin";
repo = "konsole";
# Latest commit is 7d86b8a1e56e58f6b5649cdaac543a573ac194ca
rev = "main";
hash = "sha256-EwSJMTxnaj2UlNJm1t6znnatfzgm1awIQQUF3VPfCTM=";
} + /Catppuccin-Mocha.colorscheme;
in
{
home-manager.users.toast = {
xdg.dataFile = {
"konsole/Catppuccin-Mocha.colorscheme".source = catppuccinKonsole;
};
};
}