rice/users/buffet/default.nix
2024-05-20 12:06:16 +02:00

108 lines
2 KiB
Nix

{
pkgs,
lib,
...
}: {
imports = [
./bash.nix
./cargo.nix
./comma.nix
./firefox.nix
./foot.nix
./fzf.nix
./git.nix
./gpg.nix
./ime.nix
./mako.nix
./nvd.nix
./sway.nix
];
users.users.buffet = {
isNormalUser = true;
uid = 1000;
hashedPassword = "$y$j9T$g/a4KaQ5VitWI9ZtAh9i3/$wjejk5W8LMc0gaVgw69kwrKLqBgZ95ekaOl/GaTOZVC";
extraGroups = [
"audio"
"networkmanager"
"sway"
"uinput"
"wheel"
];
};
nix.settings.trusted-users = ["buffet"];
home-manager.users.buffet = {
home = {
stateVersion = "23.11";
sessionVariables = {
EDITOR = "${pkgs.oed}/bin/ed";
};
packages = with pkgs; [
unstable.anki
unstable.logseq
alejandra
python3
cargo
cargo-crev
cargo-limit
cargo-nextest
du-dust
element-desktop-wayland
fd
fx
gdb
github-cli
htop
hyperfine
jq
kcachegrind
linuxPackages.perf
man-pages
man-pages-posix
mosh
mpv
oed
okular
pavucontrol
qdirstat
radare2
ripgrep
rr
rustfmt
strace
tokei
trash-cli
tree
unzip
valgrind
wget
wl-clipboard
zip
];
pointerCursor = {
package = pkgs.phinger-cursors.overrideAttrs (_: rec {
version = "2.0-beta.1";
src = pkgs.fetchurl {
url = "https://github.com/phisch/phinger-cursors/releases/download/v${version}/phinger-cursors-variants.tar.bz2";
sha256 = "sha256-jnPB83lxb0/c69yFBzOBNsE227arbqS/iBzJFtyGyGo=";
};
});
name = "phinger-cursors-light";
gtk.enable = true;
};
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
services.udiskie.enable = true;
};
}