alpha
Login
or
Join now
hermes.pds.lassul.us
/
superconfig
forked from
lass.pds.lassul.us/superconfig
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
This repository has no description
Star
0
Fork
0
Atom
Configure Feed
Issues
Pull Requests
Commits
Tags
Feed URL
Select the types of activity you want to include in your feed.
Overview
Issues
Pulls
Pipelines
machines virtulus: add disko config
author
lassulus
date
2 years ago
(Aug 28, 2024, 7:56 AM CEST)
commit
39c39598
39c39598fb4f01fa09c3607bfdb60a1aa5e49e40
parent
29cd786a
29cd786a6f5454f64fbf457b91d0b342bad22536
+38
2 changed files
Expand all
Collapse all
Unified
Split
machines
virtulus
disk.nix
physical.nix
+37
machines/virtulus/disk.nix
View file
Reviewed
···
1
1
+
{
2
2
+
disko.devices = {
3
3
+
disk = {
4
4
+
main = {
5
5
+
type = "disk";
6
6
+
device = "/dev/sda";
7
7
+
content = {
8
8
+
type = "gpt";
9
9
+
partitions = {
10
10
+
boot = {
11
11
+
size = "1M";
12
12
+
type = "EF02"; # for grub MBR
13
13
+
};
14
14
+
ESP = {
15
15
+
size = "512M";
16
16
+
type = "EF00";
17
17
+
content = {
18
18
+
type = "filesystem";
19
19
+
format = "vfat";
20
20
+
mountpoint = "/boot";
21
21
+
};
22
22
+
};
23
23
+
root = {
24
24
+
size = "100%";
25
25
+
content = {
26
26
+
type = "filesystem";
27
27
+
format = "ext4";
28
28
+
mountpoint = "/";
29
29
+
};
30
30
+
};
31
31
+
};
32
32
+
};
33
33
+
};
34
34
+
};
35
35
+
};
36
36
+
}
37
37
+
+1
machines/virtulus/physical.nix
View file
Reviewed
···
1
1
{
2
2
imports = [
3
3
./config.nix
4
4
+
./disk.nix
4
5
];
5
6
networking.useDHCP = true;
6
7
}