diff --git a/devices/inkvine/options.nix b/devices/inkvine/options.nix index 13e26b4..51a0c9c 100644 --- a/devices/inkvine/options.nix +++ b/devices/inkvine/options.nix @@ -4,7 +4,8 @@ niri.enable = true; games.enable = true; extraLayout.enable = true; - vm.enable = false; + vm.enable = true; + secureboot.enable = true; stateVersion = "24.05"; hmStateVersion = "24.11"; diff --git a/modules/apps/default.nix b/modules/apps/default.nix index 443b85d..ff929f8 100644 --- a/modules/apps/default.nix +++ b/modules/apps/default.nix @@ -3,6 +3,7 @@ inherit (config) conf; in { imports = [ + ./firefox.nix ./media.nix ./notes.nix ./programs.nix diff --git a/modules/apps/programs.nix b/modules/apps/programs.nix index b413101..49665ca 100644 --- a/modules/apps/programs.nix +++ b/modules/apps/programs.nix @@ -2,56 +2,50 @@ inherit (lib) mkIf; inherit (config) conf; mkXwlWrapper = import ../niri/xwl-wrapper.nix; -in { - imports = [ - ./firefox.nix - ]; +in mkIf conf.apps.enable { + services = { + # Needed for some features in nautilus such as auto-mounting and trash + gvfs.enable = true; + }; - config = mkIf conf.apps.enable { - services = { - # Needed for some features in nautilus such as auto-mounting and trash - gvfs.enable = true; + home-manager.users.${conf.username} = { + home.packages = with pkgs; [ + signal-desktop + vesktop + fractal + snapshot + nautilus + libreoffice-qt6-fresh + inkscape + blender + gnome-disk-utility + ] ++ [(mkXwlWrapper { lib = lib; pkgs = pkgs; app = "${pkgs.prusa-slicer}/bin/prusa-slicer"; name = "Prusa"; })]; + + home.file = { + ".config/vesktop/settings.json" = { + source = ./vesktop.conf.json; + }; + ".config/vesktop/settings/settings.json" = { + source = ./vencord.conf.json; + }; }; - home-manager.users.${conf.username} = { - home.packages = with pkgs; [ - signal-desktop - vesktop - fractal - snapshot - nautilus - libreoffice-qt6-fresh - inkscape - blender - # freecad -- broken dependency - ] ++ [(mkXwlWrapper { lib = lib; pkgs = pkgs; app = "${pkgs.prusa-slicer}/bin/prusa-slicer"; name = "Prusa"; })]; + programs.pandoc = { + enable = true; + }; - home.file = { - ".config/vesktop/settings.json" = { - source = ./vesktop.conf.json; - }; - ".config/vesktop/settings/settings.json" = { - source = ./vencord.conf.json; + programs.thunderbird = { + enable = true; + profiles = { + "default" = { + isDefault = true; }; }; + }; - programs.pandoc = { - enable = true; - }; - - programs.thunderbird = { - enable = true; - profiles = { - "default" = { - isDefault = true; - }; - }; - }; - - programs.alacritty = { - enable = true; - settings = import ./alacritty.conf.nix { config = config; }; - }; + programs.alacritty = { + enable = true; + settings = import ./alacritty.conf.nix { config = config; }; }; }; }