flake/home/default.nix

60 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
2024-10-06 10:44:07 +00:00
telegram-desktop
wl-clipboard
2024-09-16 05:24:22 +00:00
osu-lazer-bin
prismlauncher
])
2024-10-07 08:07:53 +00:00
++ (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";
};
}