flake/home/default.nix

61 lines
1.1 KiB
Nix
Raw Normal View History

{
lib,
inputs,
pkgs,
...
}:
{
home = {
2024-07-31 04:20:10 +00:00
username = "guanranwang";
2024-08-24 09:12:08 +00:00
homeDirectory = "/home/guanranwang";
2024-08-30 20:01:43 +00:00
stateVersion = "24.05";
};
2024-08-30 20:01:43 +00:00
imports = [
./theme.nix
./xdg-mime.nix
] ++ lib.filter (x: lib.hasSuffix "default.nix" x) (lib.fileset.toList ./applications);
2024-08-30 20:01:43 +00:00
programs = {
jq.enable = true;
obs-studio.enable = true;
ripgrep.enable = true;
skim.enable = true;
zoxide.enable = true;
2024-09-16 05:24:22 +00:00
mangohud.enable = true;
2024-08-30 20:01:43 +00:00
};
2024-08-27 21:44:22 +00:00
2024-09-15 17:20:38 +00:00
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
2024-09-16 05:24:22 +00:00
osu-lazer-bin
prismlauncher
])
++ (with inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}; [
mumble-git
]);
2024-09-16 05:24:22 +00:00
home.sessionVariables = {
# https://github.com/ppy/osu-framework/pull/6292
"OSU_SDL3" = "1";
"SDL_VIDEO_DRIVER" = "wayland";
};
}