nixos/home/H0615/elitherl.nix

66 lines
1.7 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 = [pkgs.microsoft-edge];
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"
"battery#bat2"
"tray"
];
"wlr/workspaces" = {
"format-icons" = {
"2" = "󰇩";
"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" = [];
"wlr/workspaces" = {
"format-icons" = {
"2" = "󰇩";
"5" = "󰒍";
};
};
};
};
};
}