-
Notifications
You must be signed in to change notification settings - Fork 0
/
partitions.nix
58 lines (56 loc) · 1.53 KB
/
partitions.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ config, lib, pkgs, ... }:
{
fileSystems = [
{
mountPoint = "/mnt/data";
label = "data";
fsType = "ext4";
}
{
mountPoint = "/home";
label = "home";
fsType = "ext4";
}
{
mountPoint = "/mnt/vms";
label = "vms";
fsType = "ext4";
}
{
mountPoint = "/mnt/smb/console";
device = "//mtetreault-desktop.local/console";
fsType = "cifs";
options = ["credentials=/etc/nixos/smb-secrets,uid=mtetreault,gid=users"];
}
{
mountPoint = "/mnt/smb/ebook";
device = "//mtetreault-desktop.local/ebook";
fsType = "cifs";
options = ["credentials=/etc/nixos/smb-secrets,uid=mtetreault,gid=users"];
}
{
mountPoint = "/mnt/smb/famille";
device = "//mtetreault-desktop.local/famille";
fsType = "cifs";
options = ["credentials=/etc/nixos/smb-secrets,uid=mtetreault,gid=users"];
}
{
mountPoint = "/mnt/smb/mtetreault";
device = "//mtetreault-desktop.local/mtetreault";
fsType = "cifs";
options = ["credentials=/etc/nixos/smb-secrets,uid=mtetreault,gid=users"];
}
{
mountPoint = "/mnt/smb/software";
device = "//mtetreault-desktop.local/software";
fsType = "cifs";
options = ["credentials=/etc/nixos/smb-secrets,uid=mtetreault,gid=users"];
}
{
mountPoint = "/mnt/smb/video";
device = "//mtetreault-desktop.local/video";
fsType = "cifs";
options = ["credentials=/etc/nixos/smb-secrets,uid=mtetreault,gid=users"];
}
];
}