55 lines
1.6 KiB
Nix
55 lines
1.6 KiB
Nix
{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"
|
|
];
|
|
"wlr/workspaces" = {"format-icons" = {"5" = "";};};
|
|
};
|
|
alt = {
|
|
"include" = [
|
|
"~/.config/waybar/modules.json"
|
|
"~/.config/waybar/layout.json"
|
|
];
|
|
"output" = "DP-1";
|
|
"modules-left" = [];
|
|
"modules-center" = ["wlr/workspaces"];
|
|
"modules-right" = [];
|
|
"wlr/workspaces" = {"format-icons" = {"5" = "";};};
|
|
};
|
|
};
|
|
};
|
|
}
|