niksos/hosts/hape/home-manager.nix

151 lines
4.6 KiB
Nix
Raw Normal View History

2023-10-03 19:22:24 +02:00
{
config',
2023-10-03 19:22:24 +02:00
inputs,
lib,
2023-10-03 19:22:24 +02:00
pkgs,
self,
...
}: {
home-manager = {
useUserPackages = true;
useGlobalPkgs = true;
extraSpecialArgs = {inherit inputs self config';};
users.${config'.username} = {
programs = {
home-manager.enable = true;
direnv = {
enable = true;
nix-direnv.enable = true;
};
};
home = {
inherit (config') username;
homeDirectory = "/home/${config'.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";
};
};
};
}