mount windows partition
This commit is contained in:
parent
d61d8cf00a
commit
16fb62aef5
2 changed files with 13 additions and 0 deletions
|
|
@ -6,6 +6,7 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./mount.nix
|
||||||
(libs.root "/host/desktop/default.nix")
|
(libs.root "/host/desktop/default.nix")
|
||||||
(libs.root "/home/asakiyuki/configuration.nix")
|
(libs.root "/home/asakiyuki/configuration.nix")
|
||||||
];
|
];
|
||||||
|
|
|
||||||
12
devices/ideapad-slim-5/mount.nix
Normal file
12
devices/ideapad-slim-5/mount.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
{ ... }: {
|
||||||
|
fileSystems."/mnt/windows" = {
|
||||||
|
device = "/dev/disk/by-uuid/0000294D000006E6";
|
||||||
|
fsType = "ntfs-3g";
|
||||||
|
options = [
|
||||||
|
"rw"
|
||||||
|
"uid=1000"
|
||||||
|
"gid=100"
|
||||||
|
"umask=022"
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
||||||
Reference in a new issue