tangled
alpha
login
or
join now
folospior.dev
/
dotfiles
1
fork
atom
My dotfiles (written in Nix, btw!) ❄
1
fork
atom
overview
issues
pulls
pipelines
me when no git add .
Filip Hoffmann
9 months ago
01d2cecc
a0442bd7
+36
1 changed file
expand all
collapse all
unified
split
system
disko.nix
+36
system/disko.nix
···
1
1
+
{...}: {
2
2
+
disko.devices.disk.main = {
3
3
+
type = "disk";
4
4
+
device = "/dev/nvme0n1";
5
5
+
content = {
6
6
+
type = "gpt";
7
7
+
partitions = {
8
8
+
ESP = {
9
9
+
size = "1G";
10
10
+
type = "EF00";
11
11
+
content = {
12
12
+
type = "filesystem";
13
13
+
format = "vfat";
14
14
+
mountpoint = "/boot";
15
15
+
mountOptions = ["umask=0077"];
16
16
+
};
17
17
+
};
18
18
+
swap = {
19
19
+
size = "10G";
20
20
+
content = {
21
21
+
type = "swap";
22
22
+
discardPolicy = "both";
23
23
+
};
24
24
+
};
25
25
+
root = {
26
26
+
size = "100%";
27
27
+
content = {
28
28
+
type = "filesystem";
29
29
+
format = "ext4";
30
30
+
mountpoint = "/";
31
31
+
};
32
32
+
};
33
33
+
};
34
34
+
};
35
35
+
};
36
36
+
}