2023-07-17 15:29:13 +00:00
|
|
|
{pkgs, ...}: {
|
2022-07-22 20:42:05 +00:00
|
|
|
imports = [
|
2023-07-17 15:29:13 +00:00
|
|
|
./programs/bash.nix
|
|
|
|
./programs/borg.nix
|
|
|
|
./programs/cargo.nix
|
|
|
|
./programs/firefox.nix
|
|
|
|
./programs/foot.nix
|
|
|
|
./programs/git.nix
|
|
|
|
./programs/gpg.nix
|
|
|
|
./programs/ime.nix
|
2023-07-21 07:34:06 +00:00
|
|
|
./programs/keyd.nix
|
2023-07-17 15:29:13 +00:00
|
|
|
./programs/lsd.nix
|
|
|
|
./programs/mako.nix
|
|
|
|
./programs/newsboat.nix
|
|
|
|
./programs/nvim.nix
|
|
|
|
./programs/pipewire.nix
|
|
|
|
./programs/sbcl.nix
|
|
|
|
./programs/sioyek.nix
|
|
|
|
./programs/sway.nix
|
2022-07-22 20:42:05 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
environment.systemPackages = with pkgs; [
|
2022-11-05 18:49:35 +00:00
|
|
|
gitFull
|
2022-07-22 20:42:05 +00:00
|
|
|
neovim
|
|
|
|
];
|
|
|
|
|
|
|
|
fonts.fonts = with pkgs; [
|
2023-03-06 12:24:11 +00:00
|
|
|
apl386
|
2022-07-22 20:42:05 +00:00
|
|
|
dejavu_fonts
|
|
|
|
noto-fonts
|
2023-03-24 11:31:07 +00:00
|
|
|
noto-fonts-cjk
|
2022-07-22 20:42:05 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
home-manager.users.buffet = {
|
2022-08-22 13:08:49 +00:00
|
|
|
home = {
|
2023-05-02 10:17:10 +00:00
|
|
|
sessionVariables = {
|
|
|
|
ANKI_WAYLAND = 1;
|
|
|
|
};
|
|
|
|
|
2022-08-22 13:08:49 +00:00
|
|
|
packages = with pkgs; [
|
2023-05-02 11:50:13 +00:00
|
|
|
unstable.anki
|
|
|
|
|
2023-08-07 18:59:12 +00:00
|
|
|
SDL2
|
|
|
|
SDL2.dev
|
|
|
|
alejandra
|
2023-08-13 17:02:38 +00:00
|
|
|
bear
|
2023-08-07 18:59:12 +00:00
|
|
|
black
|
|
|
|
c2ffi
|
|
|
|
cage
|
|
|
|
cairo
|
2023-08-13 17:02:38 +00:00
|
|
|
chromium
|
|
|
|
ed
|
|
|
|
gcc
|
|
|
|
gnumake
|
2023-08-07 18:59:12 +00:00
|
|
|
mpv
|
|
|
|
python3
|
|
|
|
|
2023-01-11 15:54:54 +00:00
|
|
|
cargo
|
|
|
|
cargo-crev
|
|
|
|
cargo-limit
|
2023-08-13 17:02:38 +00:00
|
|
|
mosh
|
2023-01-11 15:54:54 +00:00
|
|
|
cargo-nextest
|
2022-08-22 13:08:49 +00:00
|
|
|
du-dust
|
|
|
|
fd
|
|
|
|
gdb
|
|
|
|
github-cli
|
|
|
|
htop
|
2022-12-02 13:57:16 +00:00
|
|
|
hyperfine
|
2022-12-20 13:33:10 +00:00
|
|
|
jq
|
2022-08-22 13:08:49 +00:00
|
|
|
kcachegrind
|
|
|
|
linuxPackages.perf
|
2022-09-05 16:18:28 +00:00
|
|
|
man-pages
|
|
|
|
man-pages-posix
|
2022-08-22 13:08:49 +00:00
|
|
|
okular
|
2023-08-07 18:58:37 +00:00
|
|
|
pavucontrol
|
2022-08-22 13:08:49 +00:00
|
|
|
radare2
|
|
|
|
ripgrep
|
2023-01-11 16:00:21 +00:00
|
|
|
rr
|
2023-07-04 09:26:08 +00:00
|
|
|
rustfmt
|
2022-08-22 13:08:49 +00:00
|
|
|
strace
|
2022-10-24 21:47:52 +00:00
|
|
|
tokei
|
2022-08-22 13:08:49 +00:00
|
|
|
trash-cli
|
|
|
|
tree
|
|
|
|
valgrind
|
|
|
|
wget
|
|
|
|
wl-clipboard
|
2023-03-15 20:36:56 +00:00
|
|
|
|
2023-07-03 09:54:08 +00:00
|
|
|
(luajit.withPackages (ps:
|
|
|
|
with ps; [
|
|
|
|
fennel
|
2023-07-17 14:25:07 +00:00
|
|
|
inspect
|
2023-07-03 09:54:08 +00:00
|
|
|
luv
|
|
|
|
]))
|
|
|
|
|
2023-03-15 20:36:56 +00:00
|
|
|
(retroarch.override {
|
|
|
|
cores = with libretro; [
|
|
|
|
genesis-plus-gx
|
|
|
|
];
|
|
|
|
})
|
2022-08-22 13:08:49 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
pointerCursor = {
|
|
|
|
package = pkgs.phinger-cursors;
|
|
|
|
name = "phinger-cursors-light";
|
|
|
|
gtk.enable = true;
|
|
|
|
};
|
2022-07-22 20:42:05 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
programs.direnv = {
|
|
|
|
enable = true;
|
2022-08-18 15:12:52 +00:00
|
|
|
nix-direnv.enable = true;
|
2022-07-22 20:42:05 +00:00
|
|
|
enableBashIntegration = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
users.users.buffet = {
|
|
|
|
isNormalUser = true;
|
|
|
|
uid = 1000;
|
|
|
|
extraGroups = [
|
2023-03-06 12:25:51 +00:00
|
|
|
"docker"
|
2022-07-22 20:42:05 +00:00
|
|
|
"networkmanager"
|
|
|
|
"sway"
|
2023-03-15 20:37:58 +00:00
|
|
|
"uinput"
|
2022-07-22 20:42:05 +00:00
|
|
|
"wheel"
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
systemd.coredump.enable = true;
|
|
|
|
|
2023-03-15 20:37:58 +00:00
|
|
|
hardware = {
|
|
|
|
bluetooth.enable = true;
|
|
|
|
uinput.enable = true;
|
|
|
|
};
|
|
|
|
|
2023-03-06 12:25:51 +00:00
|
|
|
virtualisation = {
|
|
|
|
docker.enable = true;
|
|
|
|
libvirtd.enable = true;
|
|
|
|
};
|
|
|
|
|
2022-07-22 20:42:05 +00:00
|
|
|
powerManagement = {
|
|
|
|
enable = true;
|
|
|
|
powertop.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
2023-06-05 09:04:48 +00:00
|
|
|
earlyoom = {
|
|
|
|
enable = true;
|
|
|
|
enableNotifications = true;
|
|
|
|
};
|
|
|
|
|
2023-08-07 18:59:12 +00:00
|
|
|
mullvad-vpn = {
|
|
|
|
enable = true;
|
|
|
|
package = pkgs.mullvad-vpn; # enable gui
|
|
|
|
};
|
|
|
|
|
2023-06-05 09:04:48 +00:00
|
|
|
systembus-notify.enable = true;
|
2023-08-07 18:59:12 +00:00
|
|
|
upower.enable = true;
|
2022-07-22 20:42:05 +00:00
|
|
|
};
|
|
|
|
}
|