nixos/home/H0615/elitherl.nix

55 lines
1.6 KiB
Nix
Raw Normal View History

{pkgs, ...}: {
imports = [../work.nix ../desktop/hyprland.nix];
home.username = "elitherl";
home.homeDirectory = "/home/elitherl";
home.stateVersion = "22.11";
home.packages = with pkgs; [microsoft-edge 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"
];
"output" = "HDMI-A-1";
"modules-left" = ["wlr/workspaces"];
"modules-center" = ["clock"];
"modules-right" = [
"cpu"
"memory"
"temperature"
"pulseaudio"
"network"
"backlight"
"battery"
"tray"
];
2023-06-09 10:15:46 +01:00
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
};
alt = {
2023-06-01 13:59:16 +01:00
"include" = [
"~/.config/waybar/modules.json"
"~/.config/waybar/layout.json"
];
"output" = "DP-1";
2023-06-01 16:14:43 +01:00
"modules-left" = [];
"modules-center" = ["wlr/workspaces"];
"modules-right" = [];
2023-06-09 10:15:46 +01:00
"wlr/workspaces" = {"format-icons" = {"5" = "󰒍";};};
};
};
};
}