Compare commits

..

No commits in common. "f158ecde96da4c1fe1233ab54cde734de9dcd264" and "2a30af014eb67730ff4c92f8f43651a0ea2fa1c5" have entirely different histories.

6 changed files with 79 additions and 109 deletions

View File

@ -40,11 +40,11 @@
"arkenfox-userjs": { "arkenfox-userjs": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1678691587, "lastModified": 1675728165,
"narHash": "sha256-EGfPa1uGYwQLhM27nyWosJo5Pe4yIhC3JOW0vqajK7w=", "narHash": "sha256-ebSx6DaXoGKcCoK6UcDnWvdAW6J2X6pJRPD1Pw7UNOw=",
"owner": "arkenfox", "owner": "arkenfox",
"repo": "user.js", "repo": "user.js",
"rev": "e2e8c4ea8f9c8034a2ff72fe3c2d4a4a89404c10", "rev": "73884850632ffe284f76881786f7d5903b917f58",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -287,11 +287,11 @@
}, },
"flake-utils_3": { "flake-utils_3": {
"locked": { "locked": {
"lastModified": 1678901627, "lastModified": 1676283394,
"narHash": "sha256-U02riOqrKKzwjsxc/400XnElV+UtPUQWpANPlyazjH0=", "narHash": "sha256-XX2f9c3iySLCw54rJ/CZs+ZK6IQy7GXNY4nSOyu2QG4=",
"owner": "numtide", "owner": "numtide",
"repo": "flake-utils", "repo": "flake-utils",
"rev": "93a2b84fc4b70d9e089d029deacc3583435c2ed6", "rev": "3db36a8b464d0c4532ba1c7dda728f4576d6d073",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -414,11 +414,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1678886248, "lastModified": 1678271387,
"narHash": "sha256-ff81NJtc+AgQhUlTCkx8t8hda0o72vSxDeHVGrfxH70=", "narHash": "sha256-H2dv/i1LRlunRtrESirELzfPWdlG/6ElDB1ksO529H4=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "2bd74d92bc7345f323ebcbfeb631d5cf4067ed8e", "rev": "36999b8d19eb6eebb41983ef017d7e0095316af2",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -475,11 +475,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1678899680, "lastModified": 1678371846,
"narHash": "sha256-o+bo+n1HYvYJVnOG/Y/nnxdx4Lu1oFgVyrHemBbT2sE=", "narHash": "sha256-fOFX0PASpIpU4NK9Wen9yJKwg5RYe5jFIu1H0OUzglE=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "f5669a7d6bdb54d21426f6aa31a66fe813fc4e7d", "rev": "c9167d96467f0c1546f337828e874d7dd849f900",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -514,11 +514,11 @@
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_5"
}, },
"locked": { "locked": {
"lastModified": 1678893556, "lastModified": 1677282271,
"narHash": "sha256-FHhBetkV/S7M9BMpbCzUWX/P5E7tGE4mZIpj/2m0K2M=", "narHash": "sha256-wNooEHZpKMJN2jj2qPa1jRhi6f5q1yTYCxQcXEJ32eM=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "hyprpaper", "repo": "hyprpaper",
"rev": "61961973cfd10853b32c7f904cdb88f9ab6d84dd", "rev": "83867464c523c3ac2f7ce53d2c4b8d4f9b7551cd",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -545,11 +545,11 @@
}, },
"master": { "master": {
"locked": { "locked": {
"lastModified": 1678898370, "lastModified": 1678375527,
"narHash": "sha256-xTICr1j+uat5hk9FyuPOFGxpWHdJRibwZC+ATi0RbtE=", "narHash": "sha256-0W7Xu8XJLr8wUAf0fYKI2Ese3HB1fC5b/+lS9BPVgOQ=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ac718d02867a84b42522a0ece52d841188208f2c", "rev": "87af394014d51f563dade30f3f7ef55a00a3d1d6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -565,11 +565,11 @@
}, },
"locked": { "locked": {
"dir": "contrib", "dir": "contrib",
"lastModified": 1678886704, "lastModified": 1678371176,
"narHash": "sha256-eSeJva5Wg9Dlccc9eLR/iPunQPpzHAYh6eGjPCJnnPE=", "narHash": "sha256-tsPKurteDIU0bz9GutdRr4vwQ1kIsbJEbaY0nsz+H94=",
"owner": "neovim", "owner": "neovim",
"repo": "neovim", "repo": "neovim",
"rev": "5a38e951ec1532ba1ee8b35b42181003866d479c", "rev": "9ef7297ef142354ace8b1f3f277d0eee3cfdc6d4",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -590,11 +590,11 @@
"rust-overlay": "rust-overlay_2" "rust-overlay": "rust-overlay_2"
}, },
"locked": { "locked": {
"lastModified": 1678728829, "lastModified": 1678313833,
"narHash": "sha256-KbA8uakGfjfvRH+Td/VegiLdHrnqIZHkMTQ5XBjL2dE=", "narHash": "sha256-HUkOzLVYDTYzxH4zMeR2JIrh1zY/n3LIs8rtNnKeOTA=",
"owner": "oxalica", "owner": "oxalica",
"repo": "nil", "repo": "nil",
"rev": "e7045f1779fd202a3316f84b864c304f339cccea", "rev": "d1017418841c612552f73d1f670d87f57dc5e090",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -733,11 +733,11 @@
}, },
"nixpkgs_7": { "nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1678843226, "lastModified": 1678298120,
"narHash": "sha256-TkA5tsC8N38HNgaI/odBbSOJWkUrD1uIB2A7Yms72Is=", "narHash": "sha256-iaV5xqgn29xy765Js3EoZePQyZIlLZA3pTYtTnKkejg=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "abb2ade261c33516716aa21068d8c10c48d03367", "rev": "1e383aada51b416c6c27d4884d2e258df201bc11",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -841,11 +841,11 @@
"nixpkgs-stable": "nixpkgs-stable_2" "nixpkgs-stable": "nixpkgs-stable_2"
}, },
"locked": { "locked": {
"lastModified": 1678376203, "lastModified": 1677832802,
"narHash": "sha256-3tyYGyC8h7fBwncLZy5nCUjTJPrHbmNwp47LlNLOHSM=", "narHash": "sha256-XQf+k6mBYTiQUjWRf/0fozy5InAs03O1b30adCpWeXs=",
"owner": "cachix", "owner": "cachix",
"repo": "pre-commit-hooks.nix", "repo": "pre-commit-hooks.nix",
"rev": "1a20b9708962096ec2481eeb2ddca29ed747770a", "rev": "382bee738397ca005206eefa36922cc10df8a21c",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -921,11 +921,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1678415622, "lastModified": 1677638104,
"narHash": "sha256-tems1jHETCYEen8QrW61yVVX0F4zOGy4ImB43iDc7bY=", "narHash": "sha256-vbdOoDYnQ1QYSchMb3fYGCLYeta3XwmGvMrlXchST5s=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "9f687941160108f89dd8bd2c650d32c15a35c7c7", "rev": "f388187efb41ce4195b2f4de0b6bb463d3cd0a76",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -952,11 +952,11 @@
}, },
"stable": { "stable": {
"locked": { "locked": {
"lastModified": 1678761643, "lastModified": 1678230755,
"narHash": "sha256-tapXZvg6Kg5Fm7Fm6i+7cRC5Exp2lX7cgMrqsfrGhuc=", "narHash": "sha256-SFAXgNjNTXzcAideXcP0takfUGVft/VR5CACmYHg+Fc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c4aec3c021620d98861639946123214207e98344", "rev": "a7cc81913bb3cd1ef05ed0ece048b773e1839e51",
"type": "github" "type": "github"
}, },
"original": { "original": {

View File

@ -36,20 +36,6 @@ in
{ {
home-manager.users.moritz = { home-manager.users.moritz = {
programs = { programs = {
fzf.colors = {
"bg+" = "#${surface0}";
"fg+" = "#${text}";
"hl+" = "#${red}";
bg = "#${base}";
fg = "#${text}";
header = "#${red}";
hl = "#${red}";
info = "#${mauve}";
marker = "#${rosewater}";
pointer = "#${rosewater}";
prompt = "#${mauve}";
spinner = "#${rosewater}";
};
kitty.extraConfig = '' kitty.extraConfig = ''
# vim:ft=kitty # vim:ft=kitty

View File

@ -4,36 +4,22 @@ with lib;
let let
cfg = config.my.theming; cfg = config.my.theming;
background = "282a36"; background = "#282a36";
currentLine = "44475a"; currentLine = "#44475a";
foreground = "f8f8f2"; foreground = "#f8f8f2";
comment = "6272a4"; comment = "#6272a4";
cyan = "8be9fd"; cyan = "#8be9fd";
green = "50fa7b"; green = "#50fa7b";
orange = "ffb86c"; orange = "#ffb86c";
pink = "ff79c6"; pink = "#ff79c6";
purple = "bd93f9"; purple = "#bd93f9";
red = "ff5555"; red = "#ff5555";
yellow = "f1fa8c"; yellow = "#f1fa8c";
in in
{ {
config = mkIf (cfg.enable && cfg.scheme == "dracula") { config = mkIf (cfg.enable && cfg.scheme == "dracula") {
home-manager.users.moritz = { home-manager.users.moritz = {
programs = { programs = {
fzf.colors = {
"bg+" = "#${currentLine}";
"fg+" = "#${foreground}";
"hl+" = "#${purple}";
bg = "#${background}";
fg = "#${foreground}";
header = "#${comment}";
hl = "#${purple}";
info = "#${orange}";
marker = "#${pink}";
pointer = "#${pink}";
prompt = "#${green}";
spinner = "#${orange}";
};
kitty.extraConfig = kitty.extraConfig =
'' ''
# https://draculatheme.com/kitty # https://draculatheme.com/kitty
@ -156,9 +142,9 @@ in
}; };
xsession.windowManager.bspwm = { xsession.windowManager.bspwm = {
settings = { settings = {
focused_border_color = "#${purple}"; focused_border_color = purple;
normal_border_color = "#${background}"; normal_border_color = background;
active_border_color = "#${background}"; active_border_color = background;
}; };
}; };
services = { services = {
@ -195,43 +181,42 @@ in
polybar = { polybar = {
config = { config = {
"bar/bottom" = { "bar/bottom" = {
background = "#${background}"; inherit background foreground;
foreground = "#${foreground}"; border-color = background;
border-color = "#${background}";
}; };
"module/bspwm" = { "module/bspwm" = {
label-focused-foreground = "#${pink}"; label-focused-foreground = pink;
label-occupied-foreground = "#${comment}"; label-occupied-foreground = comment;
label-urgent-foreground = "#${red}"; label-urgent-foreground = red;
label-empty-foreground = "#${currentLine}"; label-empty-foreground = currentLine;
label-separator-foreground = "#${background}"; label-separator-foreground = background;
}; };
"module/cpu" = { "module/cpu" = {
format-foreground = "#${background}"; format-foreground = background;
format-background = "#${green}"; format-background = green;
}; };
"module/time" = { "module/time" = {
format-foreground = "#${background}"; format-foreground = background;
format-background = "#${cyan}"; format-background = cyan;
}; };
"module/date" = { "module/date" = {
format-foreground = "#${background}"; format-foreground = background;
format-background = "#${yellow}"; format-background = yellow;
}; };
"module/memory" = { "module/memory" = {
format-foreground = "#${background}"; format-foreground = background;
format-background = "#${cyan}"; format-background = cyan;
}; };
"module/pulseaudio" = { "module/pulseaudio" = {
format-volume-foreground = "#${background}"; format-volume-foreground = background;
format-volume-background = "#${purple}"; format-volume-background = purple;
label-muted = "%{F#${red}} %{F#${background}}muted"; label-muted = "%{F${red}} %{F${background}}muted";
format-muted-foreground = "#${background}"; format-muted-foreground = background;
format-muted-background = "#${red}"; format-muted-background = red;
}; };
"module/network" = { "module/network" = {
format-connected-foreground = "#${background}"; format-connected-foreground = background;
format-connected-background = "#${purple}"; format-connected-background = purple;
}; };
}; };
}; };

View File

@ -45,6 +45,7 @@ in
aliases = { aliases = {
ls = "exa -lh --icons --git"; ls = "exa -lh --icons --git";
cat = "bat"; cat = "bat";
grep = "rg";
rm = "rm -i"; rm = "rm -i";
mv = "mv -i"; mv = "mv -i";
cd = "z"; cd = "z";
@ -136,14 +137,8 @@ in
programs = { programs = {
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
home-manager.enable = true; home-manager.enable = true;
fzf = { fzf.enable = true;
enable = true;
defaultOptions = [
"--height 50%"
];
};
zoxide.enable = true; zoxide.enable = true;
navi.enable = true;
}; };
home = { home = {
username = "moritz"; username = "moritz";

View File

@ -118,7 +118,7 @@ with lib; {
keepassxc keepassxc
libreoffice libreoffice
pavucontrol pavucontrol
stable.signal-desktop signal-desktop
tlaplusToolbox tlaplusToolbox
vlc vlc
thunderbird thunderbird

View File

@ -32,6 +32,8 @@ in
shellAliases = shellConfig.aliases; shellAliases = shellConfig.aliases;
shellInit = '' shellInit = ''
fzf_configure_bindings --git_log=\cg
# Vi Mode # Vi Mode
fish_vi_key_bindings fish_vi_key_bindings
@ -72,6 +74,8 @@ in
cheat = "cht.sh $argv | bat -p"; cheat = "cht.sh $argv | bat -p";
}; };
}; };
fzf.enableFishIntegration = true;
starship.enableFishIntegration = true;
}; };
}; };
}; };