rice/fanya.nix

101 lines
1.7 KiB
Nix
Raw Normal View History

2022-07-22 20:42:05 +00:00
{
pkgs,
2022-08-22 18:32:26 +00:00
agenix,
2022-07-22 20:42:05 +00:00
home-manager,
nur,
2022-07-22 20:42:05 +00:00
...
2022-08-13 16:06:03 +00:00
}: let
password = "$6$FHwMlUwmRdAsPqS4$4XND0L0EEVf2Mhc/tvo6y3ZLIrMTOlsIZrG3w69EeXvtVZhdeNyoDOkPNIe.GBB8.PrchuUKDacqbvcvyuPkt0";
in {
2022-07-22 20:42:05 +00:00
imports = [
2022-08-22 18:32:26 +00:00
agenix.nixosModule
2022-07-22 20:42:05 +00:00
home-manager.nixosModule
nur.nixosModules.nur
2022-07-22 20:42:05 +00:00
./impermanence.nix
./programs
./system.nix
];
environment.systemPackages = with pkgs; [
gitFull
2022-07-22 20:42:05 +00:00
neovim
];
fonts.fonts = with pkgs; [
2022-10-28 14:58:47 +00:00
(nerdfonts.override {fonts = ["Go-Mono"];})
2022-07-22 20:42:05 +00:00
dejavu_fonts
noto-fonts
];
home-manager.users.buffet = {
2022-08-22 13:08:49 +00:00
home = {
packages = with pkgs; [
cargo
cargo-crev
cargo-limit
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
radare2
ripgrep
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
];
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 = [
"networkmanager"
"sway"
"wheel"
];
2022-08-13 16:06:03 +00:00
hashedPassword = password;
2022-07-22 20:42:05 +00:00
};
2022-08-13 16:06:03 +00:00
users.users.root.hashedPassword = password;
2022-07-22 20:42:05 +00:00
hardware.bluetooth.enable = true;
virtualisation.libvirtd.enable = true;
systemd.coredump.enable = true;
powerManagement = {
enable = true;
powertop.enable = true;
};
services = {
tlp.enable = true;
upower.enable = true;
};
}