From 0e3bbe7dd2cd93e8d6cf0cf8a5a7bc99c3d7389d Mon Sep 17 00:00:00 2001 From: ItsDrike Date: Tue, 16 Apr 2024 11:54:15 +0200 Subject: [PATCH] Update vbox_nix host config --- hosts/vbox_nix/default.nix | 35 ++++++++++++++++++++++++++++++++--- 1 file changed, 32 insertions(+), 3 deletions(-) diff --git a/hosts/vbox_nix/default.nix b/hosts/vbox_nix/default.nix index 1da37a6..6a37faa 100644 --- a/hosts/vbox_nix/default.nix +++ b/hosts/vbox_nix/default.nix @@ -22,19 +22,48 @@ system = { hostname = "vboxnix"; username = "itsdrike"; + + impermanence = { + root.enable = false; + autoWipeBtrfs.enable = false; + }; + + boot = { + secure-boot.enable = false; + tmpOnTmpfs = false; + }; }; + device = { - type = "desktop"; - virtual-machine = true; + roles = { + type = "desktop"; + virtual-machine = true; + }; cpu.type = "amd"; + hasTPM = false; }; + + security = { + auditd = { + enable = true; + autoPrune.enable = true; + }; + }; + + workstation = { + printing.enable = false; + }; + home-manager = { enable = true; stateVersion = "23.11"; git = { userName = "ItsDrike"; userEmail = "itsdrike@protonmail.com"; - signing.key = "FA2745890B7048C0"; + signing = { + enabled = true; + key = "FA2745890B7048C0"; + }; }; }; };