nixcfg/hosts/slateport/default.nix

66 lines
1.5 KiB
Nix
Raw Normal View History

{
config,
self,
...
}: {
imports = [
./home.nix
./raffauflabs.nix
./secrets.nix
2024-09-23 23:59:07 -04:00
(import ./../../disko/btrfs-subvolumes.nix {disks = ["/dev/sda"];})
self.nixosModules.common-auto-upgrade
self.nixosModules.common-base
2024-08-22 09:09:30 -04:00
self.nixosModules.common-locale
self.nixosModules.common-mauville-share
self.nixosModules.common-nix
self.nixosModules.common-pkgs
self.nixosModules.common-tailscale
self.nixosModules.common-wifi-profiles
self.nixosModules.hw-common-bluetooth
self.nixosModules.hw-common-intel-cpu
self.nixosModules.hw-common-intel-gpu
self.nixosModules.hw-common-ssd
];
boot = {
2024-08-28 16:44:35 -04:00
initrd.availableKernelModules = ["xhci_pci" "ahci" "sd_mod"];
loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
};
hardware.enableAllFirmware = true;
networking.hostName = "slateport";
services = {
fwupd.enable = true;
syncthing.guiAddress = "0.0.0.0:8384";
};
stylix = {
enable = false;
image = "${self.inputs.wallpapers}/wallhaven-mp886k.jpg";
};
system.stateVersion = "24.05";
zramSwap.memoryPercent = 100;
ar = {
apps.podman.enable = true;
users.aly = {
enable = true;
password = "$y$j9T$Lit66g43.Zn60mwGig7cx1$L.aLzGvy0q.b1E40/XSIkhj2tkJbigpXFrxR/D/FVB4";
syncthing = {
enable = true;
certFile = config.age.secrets.syncthingCert.path;
keyFile = config.age.secrets.syncthingKey.path;
syncMusic = false;
};
};
};
}