61 lines
1.1 KiB
Nix
61 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
inputs,
|
|
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;
|
|
man.generateCaches = false;
|
|
mangohud.enable = true;
|
|
obs-studio.enable = true;
|
|
ripgrep.enable = true;
|
|
skim.enable = true;
|
|
zoxide.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
|
|
telegram-desktop
|
|
wl-clipboard
|
|
|
|
lunar-client
|
|
osu-lazer-bin
|
|
prismlauncher
|
|
])
|
|
++ (with inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}; [ mumble-git ]);
|
|
|
|
home.sessionVariables = {
|
|
# https://github.com/ppy/osu-framework/pull/6292
|
|
"OSU_SDL3" = "1";
|
|
"SDL_VIDEO_DRIVER" = "wayland";
|
|
};
|
|
}
|