Lots of refactoring
This commit is contained in:
parent
2f65f8fcba
commit
70e37a959e
46 changed files with 635 additions and 400 deletions
26
systems/vm-docker-host/vm-docker-host-base.nix
Normal file
26
systems/vm-docker-host/vm-docker-host-base.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{ ... }: {
|
||||
imports = [
|
||||
# Core Features
|
||||
../features/base.nix
|
||||
../features/tui-apps.nix
|
||||
../features/openssh-server.nix
|
||||
|
||||
# Core Tweaks
|
||||
../tweaks/zram.nix
|
||||
../tweaks/enable_flakes.nix
|
||||
../tweaks/disable_nixos_user.nix
|
||||
../tweaks/systemd-resolved_nonsense.nix
|
||||
|
||||
# Lauren Base
|
||||
../users/lauren_lagarde/lauren_lagarde.nix
|
||||
|
||||
# Dotspace
|
||||
../../secrets/dotspace.nix
|
||||
../../features/stronghold-binary-cache.nix
|
||||
|
||||
# Docker Host Stuff
|
||||
../../tweaks/disable_firewall.nix
|
||||
../../features/virtualization/docker.nix
|
||||
../../features/virtualization/dockge.nix
|
||||
];
|
||||
}
|
12
systems/vm-docker-host/vm-docker-host-luks.nix
Normal file
12
systems/vm-docker-host/vm-docker-host-luks.nix
Normal file
|
@ -0,0 +1,12 @@
|
|||
# git add *; tar -cavf /Parlor/Lauren/mlaga97-nixos.tar.zst ../mlaga97-nixos
|
||||
# tar -xvf /Parlor/Lauren/mlaga97-nixos.tar.zst; sudo nix run 'github:nix-community/disko/latest#disko-install' -- --extra-files ./ssh_host_ed25519_key /root/secrets/initrd/ssh_host_ed25519_key --flake mlaga97-nixos#$TARGET_HOSTNAME --disk vda /dev/vda
|
||||
# tar -xvf /Parlor/Lauren/mlaga97-nixos.tar.zst; sudo nixos-rebuild switch --flake mlaga97-nixos?submodules=1#$HOSTNAME
|
||||
{ ... }: {
|
||||
imports = [
|
||||
./vm-docker-host-base.nix
|
||||
|
||||
# UEFI SSH LUKS
|
||||
../../features/initrd_ssh.nix
|
||||
../../features/libvirt-uefi-guest.nix
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue