Files
laptop-config/home-manager/home.nix
T
2026-09-03 20:44:30 -05:00

86 lines
1.5 KiB
Nix
Executable File

{ pkgs, ... }:
{
# import longer service declarations
imports = [
./programs
];
home.username = "roy";
home.homeDirectory = "/home/roy";
home.packages = with pkgs; [
age
anki
awscli2
brightnessctl
dig
discord
ffmpeg_6
fish
git
git-filter-repo
go
grim
jq
kdePackages.gwenview
minio-client
nodejs_22
postman
prismlauncher
python3
rcon
slurp
sops
spotify
ssh-to-age
tree
tmux
unzip
vlc
wl-clipboard
woeusb
wofi
xrandr
yq-go
zip
];
# user program config files
home.file = {
".config/hypr".source = ../roy-config/hypr;
".config/waybar".source = ../roy-config/waybar;
".config/wofi".source = ../roy-config/wofi;
};
# user persisted dirs
home.persistence."/persist" = {
directories = [
".ssh"
"rp"
"dl"
# persist steam (long download times)
".local/share/Steam"
# persist spotify login
".config/spotify"
# Minecraft (long download times)
".local/share/PrismLauncher/instances"
".local/share/PrismLauncher/assets"
];
files = [
".bash_history"
".config/sops/age/keys.txt"
# Persist mc login
".local/share/PrismLauncher/accounts.json"
];
};
# User services must come after sops secrets
systemd.user.services.mbsync.unitConfig.After = [ "sops-nix.service" ];
home.stateVersion = "24.11";
programs.home-manager.enable = true;
}