flake/home/default.nix

56 lines
940 B
Nix

{
lib,
pkgs,
...
}:
{
home = {
username = "guanranwang";
homeDirectory = "/home/guanranwang";
stateVersion = "24.05";
};
imports = [
./theme.nix
./xdg-mime.nix
] ++ lib.filter (x: lib.hasSuffix "default.nix" x) (lib.fileset.toList ./applications);
programs = {
jq.enable = true;
obs-studio.enable = true;
ripgrep.enable = true;
skim.enable = true;
zoxide.enable = true;
mangohud.enable = true;
};
services = {
cliphist.enable = true;
udiskie.enable = true;
};
home.packages = with pkgs; [
dconf-editor
fastfetch
fd
file-roller
fractal
gnome-calculator
hyperfine
libnotify
loupe
pwvucontrol
seahorse
wl-clipboard
mumble
osu-lazer-bin
prismlauncher
];
home.sessionVariables = {
# https://github.com/ppy/osu-framework/pull/6292
"OSU_SDL3" = "1";
"SDL_VIDEO_DRIVER" = "wayland";
};
}