niksos/hosts/hape/home-manager.nix
jacekpoz 59febb2149
move the config' arg to a custom module (big)
shoutout to raf for pointing out how retarded this was
this was needed very much
2024-02-29 00:29:56 +01:00

152 lines
4.6 KiB
Nix

{
config,
inputs,
lib,
pkgs,
self,
...
}: let
username = config.myOptions.other.system.username;
in {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = {inherit inputs self;};
users.${username} = {
programs = {
home-manager.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
};
};
home = {
inherit username;
homeDirectory = "/home/${username}";
packages = let
hyprcontrib = inputs.hyprcontrib.packages.${pkgs.system};
shadower = inputs.shadower.packages.${pkgs.system};
fenix = inputs.fenix.packages.${pkgs.system};
nixpkgs-wayland = inputs.nixpkgs-wayland.packages.${pkgs.system};
agenix = inputs.agenix.packages.${pkgs.system};
nh = inputs.nh.packages.${pkgs.system};
in with pkgs; [
git
librewolf-wayland
keepassxc
eza
ripgrep
libnotify
rofi-wayland
rofi-calc
session-desktop
signal-desktop-beta
schildichat-desktop
obs-studio
heroic
steam
ungoogled-chromium
amdgpu_top
tor-browser-bundle-bin
mullvad-browser
thunderbird
livecaptions
gimp
helvum
bluez
blueman
easyeffects
libreoffice-fresh
onionshare-gui
qbittorrent
zathura
zellij
unzip
nixpkgs-wayland.sway-unwrapped
caprine-bin
waypipe
trash-cli
bibata-cursors
nixpkgs-wayland.swww
networkmanagerapplet
nixpkgs-wayland.wl-clipboard
nixpkgs-wayland.wlsunset
xdg-utils
hyprpicker
hyprcontrib.hyprprop
hyprcontrib.grimblast
shadower.shadower
pamixer
brightnessctl
dig
swappy
nixpkgs-wayland.imv
pcmanfm
xdg-ninja
auto-cpufreq
gnupg
pinentry-qt
age
rage
fd
udisks
ffmpeg
yt-dlp
filelight
(fenix.complete.withComponents [
"cargo"
"clippy"
"rust-src"
"rustc"
"rustfmt"
])
wayland
showmethekey
polkit
libsForQt5.polkit-kde-agent
asciinema
asciinema-agg
du-dust
mullvad-vpn
appimage-run
file
hyfetch
git-annex
gamemode
croc
linuxKernel.packages.linux_xanmod_latest.cpupower
alsa-utils
speechd
arcanPackages.espeak
imagemagick
pavucontrol
psmisc
mesa-demos
nnn
jq
fq
tea
codeberg-cli
progress
parallel
p7zip
xxd
mpc-cli
playerctl
xdg-user-dirs
wiki-tui
lshw
tree
ydotool
agenix.default
nh.default
exiv2
gamescope
];
stateVersion = lib.mkDefault "23.11";
};
};
};
}