Johan Rong hace 5 meses
padre
commit
ba97a6b7da
Se han modificado 3 ficheros con 3 adiciones y 8 borrados
  1. 1 1
      .gitignore
  2. 1 1
      flake.nix
  3. 1 6
      hosts/desktop-nixos-workstation/iso-configuration.nix

+ 1 - 1
.gitignore

@@ -1 +1 @@
-iso-output
+result

+ 1 - 1
flake.nix

@@ -71,7 +71,7 @@
           modules = [
             nix-flatpak.nixosModules.nix-flatpak
             "${inputs.nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-plasma6.nix"
-            ./hosts/iso/configuration.nix
+            ./hosts/${host.dir}/iso-configuration.nix
             {
               # ISO-specific configuration
               image.fileName = "${host.hostname}-installer.iso";

+ 1 - 6
hosts/iso/configuration.nix → hosts/desktop-nixos-workstation/iso-configuration.nix

@@ -2,8 +2,6 @@
 
 {
   imports = [
-    ./networking.nix
-
     #../../nixos/hardware/gpu/nvidia.nix
     ../../nixos/hardware/wifi/bcm4360.nix
   ];
@@ -14,12 +12,9 @@
   networking.networkmanager.enable = true;
   networking.firewall.checkReversePath = false;
 
-  hardware.graphics = enable;
+  hardware.graphics.enable = true;
 
   nix.settings.experimental-features = [ "nix-command" "flakes" ];
-  fileSystems = lib.mkMerge [
-    (builtins.listToAttrs (map mkBindMount folders))
-  ];
 
   boot.loader.systemd-boot.enable = true;
   boot.loader.efi.canTouchEfiVariables = true;