2024-09-20 17:38:01 +00:00
|
|
|
{ lib, pkgs, ... }:
|
2024-08-25 15:02:35 +00:00
|
|
|
{
|
2023-12-10 05:55:07 +00:00
|
|
|
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";
|
2023-12-10 05:55:07 +00:00
|
|
|
};
|
|
|
|
|
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);
|
2023-12-10 05:55:07 +00:00
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2024-08-24 09:12:08 +00:00
|
|
|
home.packages = with pkgs; [
|
2024-08-30 20:01:43 +00:00
|
|
|
dconf-editor
|
2024-08-24 09:12:08 +00:00
|
|
|
fastfetch
|
|
|
|
fd
|
2024-08-27 21:44:22 +00:00
|
|
|
file-roller
|
|
|
|
fractal
|
|
|
|
gnome-calculator
|
|
|
|
hyperfine
|
2024-09-16 05:23:18 +00:00
|
|
|
libnotify
|
2024-08-27 21:44:22 +00:00
|
|
|
loupe
|
2024-09-15 17:20:38 +00:00
|
|
|
pwvucontrol
|
2024-08-27 21:44:22 +00:00
|
|
|
seahorse
|
2024-09-15 17:20:38 +00:00
|
|
|
wl-clipboard
|
2024-09-16 05:24:22 +00:00
|
|
|
|
|
|
|
mumble
|
|
|
|
osu-lazer-bin
|
|
|
|
prismlauncher
|
2024-08-24 09:12:08 +00:00
|
|
|
];
|
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";
|
|
|
|
};
|
2023-12-10 05:55:07 +00:00
|
|
|
}
|