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

65 lines
1 KiB
Nix

{
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
./gdm.nix
./gpg.nix
./keyd.nix
./pipewire.nix
./sway.nix
./tlp.nix
../../users/buffet
];
age.identityPaths = ["/home/buffet/.ssh/id_agenix"];
networking.hostName = "alice";
users = {
mutableUsers = false;
users.root.hashedPassword = "!";
};
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;
system76.power-daemon.enable = true;
uinput.enable = true;
};
services = {
upower.enable = true;
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn; # enable gui
};
};
}