about summary refs log tree commit diff
path: root/hardware
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-12-30 15:37:44 +0100
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-12-30 15:37:44 +0100
commit421a9da0dc4e377536c0b5e5e028319c0cc5db7a (patch)
treec087117610a132a4b75b9cfa5a56087032d669bb /hardware
parentfmt (diff)
downloadnixos-config-421a9da0dc4e377536c0b5e5e028319c0cc5db7a.tar.gz
nixos-config-421a9da0dc4e377536c0b5e5e028319c0cc5db7a.tar.bz2
nixos-config-421a9da0dc4e377536c0b5e5e028319c0cc5db7a.zip
Update
Diffstat (limited to 'hardware')
-rw-r--r--hardware/chromebook/disks.nix6
-rw-r--r--hardware/laptop/disks.nix6
-rw-r--r--hardware/pc/disks.nix6
-rw-r--r--hardware/thinkpad/disks.nix6
-rw-r--r--hardware/virtualbox/disks.nix8
5 files changed, 16 insertions, 16 deletions
diff --git a/hardware/chromebook/disks.nix b/hardware/chromebook/disks.nix
index ff46d2e..7e3bfaf 100644
--- a/hardware/chromebook/disks.nix
+++ b/hardware/chromebook/disks.nix
@@ -167,7 +167,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-create";
-          paths = [(writeScriptBin default.name partitionsCreateScript) parted];
+          paths = [(writeShellScriptBin default.name partitionsCreateScript) parted];
         };
     };
 
@@ -177,7 +177,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-format";
-          paths = [(writeScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
+          paths = [(writeShellScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
         };
     };
 
@@ -187,7 +187,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-mount";
-          paths = [(writeScriptBin default.name partitionsMountScript) cryptsetup lvm2];
+          paths = [(writeShellScriptBin default.name partitionsMountScript) cryptsetup lvm2];
         };
     };
 }
diff --git a/hardware/laptop/disks.nix b/hardware/laptop/disks.nix
index a7df432..47eccbd 100644
--- a/hardware/laptop/disks.nix
+++ b/hardware/laptop/disks.nix
@@ -159,7 +159,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-create";
-          paths = [(writeScriptBin default.name partitionsCreateScript) parted];
+          paths = [(writeShellScriptBin default.name partitionsCreateScript) parted];
         };
     };
 
@@ -169,7 +169,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-format";
-          paths = [(writeScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
+          paths = [(writeShellScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
         };
     };
 
@@ -179,7 +179,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-mount";
-          paths = [(writeScriptBin default.name partitionsMountScript) cryptsetup lvm2];
+          paths = [(writeShellScriptBin default.name partitionsMountScript) cryptsetup lvm2];
         };
     };
 }
diff --git a/hardware/pc/disks.nix b/hardware/pc/disks.nix
index ded0350..825a9f0 100644
--- a/hardware/pc/disks.nix
+++ b/hardware/pc/disks.nix
@@ -150,7 +150,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-create";
-          paths = [(writeScriptBin default.name partitionsCreateScript) parted];
+          paths = [(writeShellScriptBin default.name partitionsCreateScript) parted];
         };
     };
 
@@ -160,7 +160,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-format";
-          paths = [(writeScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
+          paths = [(writeShellScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
         };
     };
 
@@ -170,7 +170,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-mount";
-          paths = [(writeScriptBin default.name partitionsMountScript) cryptsetup lvm2];
+          paths = [(writeShellScriptBin default.name partitionsMountScript) cryptsetup lvm2];
         };
     };
 }
diff --git a/hardware/thinkpad/disks.nix b/hardware/thinkpad/disks.nix
index c5a9ec9..2f60e71 100644
--- a/hardware/thinkpad/disks.nix
+++ b/hardware/thinkpad/disks.nix
@@ -159,7 +159,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-create";
-          paths = [(writeScriptBin default.name partitionsCreateScript) parted];
+          paths = [(writeShellScriptBin default.name partitionsCreateScript) parted];
         };
     };
 
@@ -169,7 +169,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-format";
-          paths = [(writeScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
+          paths = [(writeShellScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
         };
     };
 
@@ -179,7 +179,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-mount";
-          paths = [(writeScriptBin default.name partitionsMountScript) cryptsetup lvm2];
+          paths = [(writeShellScriptBin default.name partitionsMountScript) cryptsetup lvm2];
         };
     };
 }
diff --git a/hardware/virtualbox/disks.nix b/hardware/virtualbox/disks.nix
index e1e2e55..912a096 100644
--- a/hardware/virtualbox/disks.nix
+++ b/hardware/virtualbox/disks.nix
@@ -7,7 +7,7 @@
   isIso,
   ...
 }: let
-  HDD = "/dev/disk/by-path/pci-0000:00:0d.0-ata-1";
+  HDD = "/dev/disk/by-path/pci-0000:00:01.1-ata-1";
 
   partitionsCreateScript = ''
     parted -s "${HDD}" mklabel gpt
@@ -150,7 +150,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-create";
-          paths = [(writeScriptBin default.name partitionsCreateScript) parted];
+          paths = [(writeShellScriptBin default.name partitionsCreateScript) parted];
         };
     };
 
@@ -160,7 +160,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-format";
-          paths = [(writeScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
+          paths = [(writeShellScriptBin default.name partitionsFormatScript) cryptsetup lvm2 dosfstools e2fsprogs btrfs-progs];
         };
     };
 
@@ -170,7 +170,7 @@ in {
       default = with pkgs;
         symlinkJoin {
           name = "disks-mount";
-          paths = [(writeScriptBin default.name partitionsMountScript) cryptsetup lvm2];
+          paths = [(writeShellScriptBin default.name partitionsMountScript) cryptsetup lvm2];
         };
     };
 }