From 605fa7e8728fadffcad471fef6f62cc4bf6a3082 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sun, 23 Nov 2025 15:29:18 +0100 Subject: Disable fcitx5 and add a vm-shell target --- flake.nix | 33 ++++++++++++++++++++++++++------- 1 file changed, 26 insertions(+), 7 deletions(-) (limited to 'flake.nix') diff --git a/flake.nix b/flake.nix index 682e2b0..973b4b3 100644 --- a/flake.nix +++ b/flake.nix @@ -42,32 +42,51 @@ inputs.sops-nix.nixosModules.sops ]; }; - test_vm = nixpkgs.lib.nixosSystem { + full-iso = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; + isoImage.squashfsCompression = "lz4"; + isoImage.isoLabel = "NIX_WQ_ISO"; }; system = "x86_64-linux"; modules = [ ./common.nix - ./hosts/test_vm - ./users/wilkuu.nix + ./hosts/full-iso + ./users/live-user.nix inputs.home-manager.nixosModules.default + inputs.sops-nix.nixosModules.sops ]; }; - full-iso = nixpkgs.lib.nixosSystem { + vm-desktop = nixpkgs.lib.nixosSystem { specialArgs = { inherit inputs; - isoImage.squashfsCompression = "lz4"; - isoImage.isoLabel = "NIX_WQ_ISO"; }; system = "x86_64-linux"; modules = [ ./common.nix - ./hosts/full-iso + ./hosts/test_vm ./users/live-user.nix inputs.home-manager.nixosModules.default + inputs.sops-nix.nixosModules.sops ]; }; + vm-shell = nixpkgs.lib.nixosSystem { + specialArgs = { + inherit inputs; + }; + system = "x86_64-linux"; + modules = [ + ./common.nix + ./hosts/test_vm + ./users/live-user.nix + ({lib, ...}: { + addons.desktop.hyprland.enable = lib.mkForce false; + addons.desktop.xfce.enable = lib.mkForce false; + }) + inputs.home-manager.nixosModules.default + inputs.sops-nix.nixosModules.sops + ]; + }; }; }; } -- cgit v1.3.1