From 6be4f415195490c07fa1d6e1388b5a6249a8e852 Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Wed, 23 Jul 2025 21:07:34 +0200 Subject: [PATCH] add ventoy --- hosts/manwe/default.nix | 5 ++++- modules/system/boot.nix | 6 +++--- modules/system/networking/nfs.nix | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/hosts/manwe/default.nix b/hosts/manwe/default.nix index c3870ab..0207089 100644 --- a/hosts/manwe/default.nix +++ b/hosts/manwe/default.nix @@ -1,4 +1,4 @@ -{ config, ... }: +{ config, pkgs, ... }: { fileSystems = { "/home/chris/games" = { @@ -18,6 +18,9 @@ }; }; + environment.systemPackages = [ pkgs.ventoy-full-qt ]; + permittedInsecurePackages = [ "ventoy-qt5-1.1.05"]; + boot.supportedFilesystems = [ "nfs" ]; modules = { diff --git a/modules/system/boot.nix b/modules/system/boot.nix index d0fa603..4761b6e 100644 --- a/modules/system/boot.nix +++ b/modules/system/boot.nix @@ -1,11 +1,11 @@ -{ config, options, lib, pkgs, ... }: +{ config, lib, pkgs, ... }: let inherit (lib) mkMerge mkIf mkEnableOption mkDefault mkForce; cfg = config.modules.boot; in { - options.modules.boot = + options.modules.boot = { silentBoot = mkEnableOption "Enable silent boot"; animatedBoot = mkEnableOption "Enable boot animation"; @@ -45,4 +45,4 @@ in }; }) ]; -} \ No newline at end of file +} diff --git a/modules/system/networking/nfs.nix b/modules/system/networking/nfs.nix index 7081e6c..38a42df 100644 --- a/modules/system/networking/nfs.nix +++ b/modules/system/networking/nfs.nix @@ -15,7 +15,7 @@ in services.nfs.server = { enable = true; exports = '' - /var/media manwe(rw,fsid=0,no_subtree_check) + /var/media manwe(rw,sync,no_subtree_check,fsid=0) ''; }; };