home: move foot,overlay,zsh into modules. Add backup to workdell
This commit is contained in:
parent
f1a0c662bd
commit
894e3eb895
6 changed files with 124 additions and 132 deletions
40
home-manager/modules/foot.nix
Normal file
40
home-manager/modules/foot.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ config
|
||||
, ...
|
||||
}:
|
||||
let
|
||||
fontSize = hiDPI: if hiDPI then "FiraCode:size=14" else "FiraCode:size=8";
|
||||
in
|
||||
{
|
||||
programs.foot = {
|
||||
enable = true;
|
||||
settings = {
|
||||
main = {
|
||||
term = "xterm-256color";
|
||||
font = fontSize config.my.highDPI;
|
||||
};
|
||||
scrollback = { lines = 100000; };
|
||||
colors = {
|
||||
alpha = "0.98";
|
||||
foreground = "B3B1AD";
|
||||
background = "0A0E14";
|
||||
regular0 = "01060E";
|
||||
regular1 = "EA6C73";
|
||||
regular2 = "91B362";
|
||||
regular3 = "F9AF4F";
|
||||
regular4 = "53BDFA";
|
||||
regular5 = "FAE994";
|
||||
regular6 = "90E1C6";
|
||||
regular7 = "C7C7C7";
|
||||
bright0 = "686868";
|
||||
bright1 = "F07178";
|
||||
bright2 = "C2D94C";
|
||||
bright3 = "FFB454";
|
||||
bright4 = "59C2FF";
|
||||
bright5 = "FFEE99";
|
||||
bright6 = "95E6CB";
|
||||
bright7 = "FFFFFF";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
}
|
5
home-manager/modules/overlay.nix
Normal file
5
home-manager/modules/overlay.nix
Normal file
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
nixpkgs.overlays = [
|
||||
(import ../../overlay/default.nix)
|
||||
];
|
||||
}
|
19
home-manager/modules/zsh.nix
Normal file
19
home-manager/modules/zsh.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
plugins = [ "git" "fzf" ];
|
||||
theme = "kolo";
|
||||
};
|
||||
history = {
|
||||
share = false; # every terminal has it's own history
|
||||
size = 10000;
|
||||
};
|
||||
shellAliases = {
|
||||
"dl" = "ls -lhtr --color=always ~/Downloads | tail -n 10"; # Show the 10 newest Downloads
|
||||
"buzzer" = "ssh -i Nextcloud/Privat/id_door door@door.w17.io buzzer";
|
||||
};
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue