forked from jan-leila/nix-config
got impermanence to wipe drive
This commit is contained in:
parent
d2b3f0116e
commit
848c57caa0
10 changed files with 281 additions and 234 deletions
|
@ -6,7 +6,7 @@
|
|||
}: {
|
||||
imports = [
|
||||
inputs.disko.nixosModules.disko
|
||||
./services.nix
|
||||
# ./services.nix
|
||||
];
|
||||
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
@ -23,37 +23,30 @@
|
|||
};
|
||||
};
|
||||
|
||||
boot.loader.grub = {
|
||||
enable = true;
|
||||
zfsSupport = true;
|
||||
efiSupport = true;
|
||||
efiInstallAsRemovable = true;
|
||||
};
|
||||
|
||||
apps = {
|
||||
base_domain = "jan-leila.com";
|
||||
macvlan = {
|
||||
subnet = "192.168.1.0/24";
|
||||
gateway = "192.168.1.1";
|
||||
networkInterface = "bond0";
|
||||
};
|
||||
pihole = {
|
||||
image = "pihole/pihole:2024.07.0";
|
||||
ip = "192.168.1.201";
|
||||
};
|
||||
headscale = {
|
||||
subdomain = "vpn";
|
||||
};
|
||||
jellyfin = {
|
||||
subdomain = "media";
|
||||
};
|
||||
forgejo = {
|
||||
subdomain = "git";
|
||||
};
|
||||
nextcloud = {
|
||||
subdomain = "drive";
|
||||
};
|
||||
};
|
||||
# apps = {
|
||||
# base_domain = "jan-leila.com";
|
||||
# macvlan = {
|
||||
# subnet = "192.168.1.0/24";
|
||||
# gateway = "192.168.1.1";
|
||||
# networkInterface = "bond0";
|
||||
# };
|
||||
# pihole = {
|
||||
# image = "pihole/pihole:2024.07.0";
|
||||
# ip = "192.168.1.201";
|
||||
# };
|
||||
# headscale = {
|
||||
# subdomain = "vpn";
|
||||
# };
|
||||
# jellyfin = {
|
||||
# subdomain = "media";
|
||||
# };
|
||||
# forgejo = {
|
||||
# subdomain = "git";
|
||||
# };
|
||||
# nextcloud = {
|
||||
# subdomain = "drive";
|
||||
# };
|
||||
# };
|
||||
|
||||
services = {
|
||||
zfs = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue