Compare commits
5 commits
1443e62ccd
...
9a8309def9
| Author | SHA1 | Date | |
|---|---|---|---|
| 9a8309def9 | |||
| 437d3022eb | |||
| b56b90651a | |||
| f3189018bf | |||
| 08df06dc26 |
6 changed files with 62 additions and 6 deletions
27
roles/common/programs/btop.nix
Normal file
27
roles/common/programs/btop.nix
Normal 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";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -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));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
|
||||||
17
roles/kde/programs/konsole.nix
Normal file
17
roles/kde/programs/konsole.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue