rice/hosts/alice/default.nix
buffet f122de5964
feat: use diskie for alice as well
Signed-off-by: buffet <dev@buffet.sh>
2024-10-13 16:16:46 +02:00

78 lines
1.3 KiB
Nix

{
agenix,
disko,
home-manager,
lix-module,
nur,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
./system.nix
agenix.nixosModules.default
disko.nixosModules.disko
home-manager.nixosModule
lix-module.nixosModules.default
nur.nixosModules.nur
./borg.nix
./disk-config.nix
./gdm.nix
./pipewire.nix
./printer.nix
./sway.nix
./syncthing.nix
./tlp.nix
../../users/buffet
];
age.identityPaths = ["/home/buffet/.ssh/id_agenix_ed25519"];
networking.hostName = "alice";
users = {
mutableUsers = false;
users.root.hashedPassword = "!";
};
environment.systemPackages = with pkgs; [
gitFull
neovim
];
fonts.packages = with pkgs; [
apl386
dejavu_fonts
nasin-nanpa
noto-fonts
noto-fonts-cjk
];
powerManagement.enable = true;
systemd.coredump.enable = true;
virtualisation.podman = {
enable = true;
autoPrune.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
};
udisks2 = {
enable = true;
mountOnMedia = true;
};
};
}