tangled
alpha
login
or
join now
encode42.dev
/
nixos
0
fork
atom
Personal-use NixOS configuration
0
fork
atom
overview
issues
pulls
pipelines
Reformat disk config
encode42.dev
6 months ago
6735393d
26ab8ce5
+6
-2
3 changed files
expand all
collapse all
unified
split
hosts
decryption
default.nix
disks.nix
lib
mkSystem.nix
+1
-1
hosts/decryption/default.nix
···
9
9
imports = [
10
10
nixos-hardware.nixosModules.common-pc-ssd
11
11
./hardware-configuration.nix
12
12
-
./disk.nix
12
12
+
./disks.nix
13
13
(flakeRoot + /hardware/cpu/amd.nix)
14
14
(flakeRoot + /hardware/gpu/nvidia.nix)
15
15
+5
hosts/decryption/disk.nix
hosts/decryption/disks.nix
···
4
4
main = {
5
5
type = "disk";
6
6
device = "/dev/disk/by-id/nvme-Samsung_SSD_980_1TB_S64ANS0T409404F";
7
7
+
7
8
content = {
8
9
type = "gpt";
10
10
+
9
11
partitions = {
10
12
ESP = {
11
13
end = "500M";
12
14
type = "EF00";
15
15
+
13
16
content = {
14
17
type = "filesystem";
18
18
+
15
19
format = "vfat";
16
20
mountpoint = "/boot";
17
21
};
···
22
26
23
27
content = {
24
28
type = "filesystem";
29
29
+
25
30
format = "xfs";
26
31
mountpoint = "/";
27
32
};
-1
lib/mkSystem.nix
···
36
36
inputs.lix-module.nixosModules.default
37
37
inputs.disko.nixosModules.disko
38
38
39
39
-
../hosts/${name}
40
39
../hosts/${hostName}
41
40
42
41
{