nixos/home/J0162/elitherl.nix

43 lines
1.2 KiB
Nix

{pkgs, ...}: {
imports = [../work.nix ../desktop/hyprland.nix];
home.username = "elitherl";
home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11";
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"
];
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
};
};
};
}