mirror of
https://github.com/alyraffauf/nixcfg.git
synced 2024-11-24 13:41:53 -05:00
57 lines
1.4 KiB
Nix
57 lines
1.4 KiB
Nix
{
|
|
config,
|
|
self,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./disko.nix
|
|
./home.nix
|
|
./raffauflabs.nix
|
|
./secrets.nix
|
|
self.inputs.nixhw.nixosModules.common-intel-cpu
|
|
self.inputs.nixhw.nixosModules.common-intel-gpu
|
|
self.inputs.nixhw.nixosModules.common-bluetooth
|
|
self.inputs.nixhw.nixosModules.common-ssd
|
|
self.nixosModules.common-auto-upgrade
|
|
self.nixosModules.common-base
|
|
self.nixosModules.common-locale
|
|
self.nixosModules.common-mauville-share
|
|
self.nixosModules.common-nix
|
|
self.nixosModules.common-overlays
|
|
self.nixosModules.common-pkgs
|
|
self.nixosModules.common-tailscale
|
|
self.nixosModules.common-wifi-profiles
|
|
];
|
|
|
|
boot = {
|
|
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;
|
|
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;
|
|
};
|
|
};
|
|
};
|
|
}
|