rice/hosts/alice/default.nix

65 lines
1 KiB
Nix
Raw Normal View History

2024-01-19 14:36:08 +00:00
{
agenix,
home-manager,
nixos-hardware,
nur,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
./system.nix
agenix.nixosModules.default
home-manager.nixosModule
nur.nixosModules.nur
./borg.nix
./earlyoom.nix
./gpg.nix
./keyd.nix
./pipewire.nix
./sway.nix
./tlp.nix
../../users/buffet
];
# TODO: find out why this is required
age.identityPaths = ["/home/buffet/.ssh/id_agenix"];
networking.hostName = "alice";
2024-01-21 13:21:35 +00:00
users = {
mutableUsers = false;
users.root.hashedPassword = "!";
};
2024-01-19 14:36:08 +00:00
environment.systemPackages = with pkgs; [
gitFull
neovim
];
fonts.packages = with pkgs; [
apl386
dejavu_fonts
noto-fonts
noto-fonts-cjk
];
powerManagement.enable = true;
systemd.coredump.enable = true;
hardware = {
bluetooth.enable = true;
uinput.enable = true;
};
services = {
upower.enable = true;
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn; # enable gui
};
};
}