rice/hosts/alice/default.nix

77 lines
1.2 KiB
Nix
Raw Normal View History

2024-01-19 14:36:08 +00:00
{
agenix,
home-manager,
2024-05-21 17:27:35 +00:00
lix-module,
2024-01-19 14:36:08 +00:00
nixos-hardware,
nur,
pkgs,
...
}: {
imports = [
./hardware-configuration.nix
./system.nix
agenix.nixosModules.default
home-manager.nixosModule
2024-05-21 17:27:35 +00:00
lix-module.nixosModules.default
2024-01-19 14:36:08 +00:00
nur.nixosModules.nur
./borg.nix
2024-01-26 12:36:14 +00:00
./gdm.nix
2024-01-19 14:36:08 +00:00
./pipewire.nix
2024-02-25 19:07:16 +00:00
./printer.nix
2024-01-19 14:36:08 +00:00
./sway.nix
2024-03-19 21:10:56 +00:00
./syncthing.nix
2024-01-19 14:36:08 +00:00
./tlp.nix
../../users/buffet
];
age.identityPaths = ["/home/buffet/.ssh/id_agenix_ed25519"];
2024-01-19 14:36:08 +00:00
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
2024-03-04 14:51:01 +00:00
nasin-nanpa
2024-01-19 14:36:08 +00:00
noto-fonts
noto-fonts-cjk
];
powerManagement.enable = true;
systemd.coredump.enable = true;
2024-05-07 17:06:54 +00:00
virtualisation.podman = {
enable = true;
autoPrune.enable = true;
};
2024-01-19 14:36:08 +00:00
hardware = {
bluetooth.enable = true;
2024-01-29 13:28:39 +00:00
system76.power-daemon.enable = true;
2024-01-19 14:36:08 +00:00
uinput.enable = true;
};
services = {
upower.enable = true;
mullvad-vpn = {
enable = true;
package = pkgs.mullvad-vpn; # enable gui
};
2024-03-19 12:41:50 +00:00
udisks2 = {
enable = true;
mountOnMedia = true;
};
2024-01-19 14:36:08 +00:00
};
}