rice/users/buffet/default.nix

108 lines
1.9 KiB
Nix
Raw Normal View History

2024-01-29 13:30:45 +00:00
{
pkgs,
lib,
...
}: {
2024-01-19 14:36:08 +00:00
imports = [
./bash.nix
./cargo.nix
2024-01-21 16:10:23 +00:00
./comma.nix
2024-01-19 14:36:08 +00:00
./firefox.nix
./foot.nix
2024-02-01 14:50:04 +00:00
./fzf.nix
2024-01-19 14:36:08 +00:00
./git.nix
./gpg.nix
./ime.nix
./mako.nix
2024-03-18 11:17:29 +00:00
./nvd.nix
2024-01-19 14:36:08 +00:00
./sway.nix
];
users.users.buffet = {
isNormalUser = true;
uid = 1000;
hashedPassword = "$y$j9T$g/a4KaQ5VitWI9ZtAh9i3/$wjejk5W8LMc0gaVgw69kwrKLqBgZ95ekaOl/GaTOZVC";
extraGroups = [
2024-02-25 19:06:51 +00:00
"audio"
2024-01-19 14:36:08 +00:00
"networkmanager"
"sway"
"uinput"
"wheel"
];
};
2024-01-25 15:54:05 +00:00
nix.settings.trusted-users = ["buffet"];
2024-01-19 14:36:08 +00:00
home-manager.users.buffet = {
home = {
stateVersion = "23.11";
2024-01-25 15:54:05 +00:00
sessionVariables = {
2024-01-29 14:50:05 +00:00
EDITOR = "${pkgs.oed}/bin/ed";
2024-01-25 15:54:05 +00:00
};
2024-01-19 14:36:08 +00:00
packages = with pkgs; [
unstable.anki
2024-03-18 11:17:29 +00:00
unstable.logseq
2024-01-19 14:36:08 +00:00
alejandra
python3
2024-01-19 14:36:08 +00:00
cargo
cargo-crev
cargo-limit
cargo-nextest
du-dust
2024-04-03 08:46:43 +00:00
element-desktop-wayland
2024-01-19 14:36:08 +00:00
fd
2024-04-06 16:12:47 +00:00
fx
2024-01-19 14:36:08 +00:00
gdb
github-cli
htop
hyperfine
jq
kcachegrind
linuxPackages.perf
man-pages
man-pages-posix
2024-01-21 16:10:35 +00:00
mosh
2024-01-29 13:30:45 +00:00
oed
2024-01-19 14:36:08 +00:00
okular
pavucontrol
2024-03-18 11:27:11 +00:00
qdirstat
2024-01-19 14:36:08 +00:00
radare2
ripgrep
rr
rustfmt
strace
tokei
trash-cli
tree
2024-02-25 19:06:41 +00:00
unzip
2024-01-19 14:36:08 +00:00
valgrind
wget
wl-clipboard
2024-02-25 19:06:41 +00:00
zip
2024-01-19 14:36:08 +00:00
];
pointerCursor = {
2024-04-05 13:42:20 +00:00
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=";
};
});
2024-01-19 14:36:08 +00:00
name = "phinger-cursors-light";
gtk.enable = true;
};
};
programs.direnv = {
enable = true;
nix-direnv.enable = true;
};
2024-03-19 12:41:50 +00:00
services.udiskie.enable = true;
2024-01-19 14:36:08 +00:00
};
}