flake/home/default.nix

52 lines
988 B
Nix
Raw Normal View History

{
lib,
inputs,
pkgs,
...
}:
{
home = {
2024-07-31 12:20:10 +08:00
username = "guanranwang";
2024-08-24 17:12:08 +08:00
homeDirectory = "/home/guanranwang";
2024-08-31 04:01:43 +08:00
stateVersion = "24.05";
};
2024-08-31 04:01:43 +08:00
imports = [
./theme.nix
./xdg-mime.nix
] ++ lib.filter (x: lib.hasSuffix "default.nix" x) (lib.fileset.toList ./applications);
2024-08-31 04:01:43 +08:00
programs = {
2024-12-28 12:50:18 +08:00
fzf.enable = true;
2024-08-31 04:01:43 +08:00
jq.enable = true;
2024-10-20 14:45:52 +08:00
man.generateCaches = false;
mangohud.enable = true;
2024-08-31 04:01:43 +08:00
obs-studio.enable = true;
ripgrep.enable = true;
zoxide.enable = true;
};
2024-08-28 05:44:22 +08:00
2024-09-16 01:20:38 +08:00
services = {
cliphist.enable = true;
};
home.packages =
(with pkgs; [
dconf-editor
fastfetch
fd
hyperfine
libnotify
loupe
pwvucontrol
seahorse
2024-10-06 18:44:07 +08:00
telegram-desktop
wl-clipboard
2024-09-16 13:24:22 +08:00
2024-10-26 10:27:20 +08:00
lunar-client
2024-12-20 15:52:54 +08:00
(osu-lazer-bin.override { nativeWayland = true; })
2024-12-24 22:30:07 +08:00
(prismlauncher.override { jdks = [ pkgs.jdk21 ]; })
])
2024-10-07 16:07:53 +08:00
++ (with inputs.self.legacyPackages.${pkgs.stdenv.hostPlatform.system}; [ mumble-git ]);
}