nix/hosts/marvin/configuration.nix
2022-05-05 10:09:04 -04:00

49 lines
1.1 KiB
Nix

{
pkgs,
lib,
inputs,
...
}: {
disabledModules = ["services/web-servers/caddy/default.nix"];
imports = [
# Common Config
../common/packages.nix
../common/nixConfig.nix
../common/nixpkgsConfig.nix
../common/root.nix
../common/ssh.nix
# My user, also a default.
../../users/mrhedgehog/default.nix
# Machine-specific configurations.
./firewall.nix
# Running Services
./services/caddy.nix
./services/nix-serve.nix
./services/hydra.nix
];
networking = {
hostName = "marvin";
enableIPv6 = true;
networkmanager = {enable = true;};
wireless = {enable = false;};
};
fileSystems = {
"/" = {
fsType = "btrfs";
device = "/dev/disk/by-uuid/076acbb8-59bc-4063-843e-235a4466fe03";
};
"/boot" = {
fsType = "vfat";
device = "/dev/disk/by-uuid/69B1-6377";
};
"/storage" = {
fsType = "btrfs";
device = "/dev/disk/by-uuid/23374c19-b4de-49ab-9832-3cdbef8e49b5";
};
};
swapDevices = [{device = "/dev/disk/by-uuid/288d0da2-43a8-4377-a616-4a7d60672576";}];
}