nixos/home/J0162/elitherl.nix

43 lines
1.2 KiB
Nix
Raw Normal View History

2023-06-09 14:38:57 +01:00
{pkgs, ...}: {
imports = [../work.nix ../desktop/hyprland.nix];
home.username = "elitherl";
home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11";
2023-06-09 14:38:57 +01:00
home.packages = with pkgs; [zotero];
programs.fish.functions.nvsync = ''
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ heimdall003.jet.uk:.config/nvim
rsync -avz --filter=':- .gitignore' --exclude='.git*'\
--delete-during --delete-excluded\
$HOME/.config/nvim/ freia:.config/nvim
'';
xdg.configFile."hypr/hyprpaper.conf".source = ./hypr/hyprpaper.conf;
wayland.windowManager.hyprland.extraConfig = builtins.readFile ./hypr/hyprland.conf;
programs.waybar = {
settings = {
main = {
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"modules-left" = ["wlr/workspaces"];
"modules-center" = ["clock"];
"modules-right" = [
"cpu"
"memory"
"temperature"
"pulseaudio"
"network"
"backlight"
"battery"
"tray"
];
2023-06-09 14:38:57 +01:00
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
};
};
};
}