use ntfs-plus driver for /var/games
This commit is contained in:
Generated
+38
@@ -220,6 +220,22 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"linux-ntfs": {
|
||||||
|
"flake": false,
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1777784940,
|
||||||
|
"narHash": "sha256-Dbh1r86X0uNx8keTkdg+uzq4/+DHm+IiTuxrHXlklXA=",
|
||||||
|
"owner": "namjaejeon",
|
||||||
|
"repo": "linux-ntfs",
|
||||||
|
"rev": "9e031cf453d8b3c226aac7cb7105af46efd79690",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "namjaejeon",
|
||||||
|
"repo": "linux-ntfs",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"nix-flatpak": {
|
"nix-flatpak": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1767983141,
|
"lastModified": 1767983141,
|
||||||
@@ -291,6 +307,27 @@
|
|||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"ntfsplus": {
|
||||||
|
"inputs": {
|
||||||
|
"linux-ntfs": "linux-ntfs",
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1774317576,
|
||||||
|
"narHash": "sha256-HSDFaDLvfS/NqJlXbHh9135DEpqH6JrNuWqbu3YPcTg=",
|
||||||
|
"owner": "cmspam",
|
||||||
|
"repo": "ntfsplus-flake",
|
||||||
|
"rev": "e22d1bcbac31b4e6484d32c503396e8184650215",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "cmspam",
|
||||||
|
"repo": "ntfsplus-flake",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"peerix": {
|
"peerix": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-compat": "flake-compat_2",
|
"flake-compat": "flake-compat_2",
|
||||||
@@ -369,6 +406,7 @@
|
|||||||
"nix-sweep": "nix-sweep",
|
"nix-sweep": "nix-sweep",
|
||||||
"nixos-hardware": "nixos-hardware",
|
"nixos-hardware": "nixos-hardware",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
|
"ntfsplus": "ntfsplus",
|
||||||
"peerix": "peerix",
|
"peerix": "peerix",
|
||||||
"plasma-manager": "plasma-manager"
|
"plasma-manager": "plasma-manager"
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -34,6 +34,10 @@
|
|||||||
url = "github:Lumpiasty/acer-wmi-ext/main";
|
url = "github:Lumpiasty/acer-wmi-ext/main";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
};
|
||||||
|
ntfsplus = {
|
||||||
|
url = "github:cmspam/ntfsplus-flake";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
outputs = { self, nixos-hardware, ... }@inputs:
|
outputs = { self, nixos-hardware, ... }@inputs:
|
||||||
|
|||||||
+6
-1
@@ -94,7 +94,7 @@
|
|||||||
"/var/games" =
|
"/var/games" =
|
||||||
{
|
{
|
||||||
device = "/dev/disk/by-uuid/8A3094A230949733"; # "Shared" NTFS partition
|
device = "/dev/disk/by-uuid/8A3094A230949733"; # "Shared" NTFS partition
|
||||||
fsType = "ntfs-3g";
|
fsType = "ntfs";
|
||||||
options = [
|
options = [
|
||||||
"uid=1000" "gid=100" # My user account
|
"uid=1000" "gid=100" # My user account
|
||||||
"nofail" # Don't fail boot if failed to mount because windows left it dirty
|
"nofail" # Don't fail boot if failed to mount because windows left it dirty
|
||||||
@@ -102,6 +102,11 @@
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Use ntfs-plus instead driver
|
||||||
|
services.ntfsplus.enable = true;
|
||||||
|
# Force disable ntfs-3g driver
|
||||||
|
boot.supportedFilesystems.ntfs = lib.mkForce false;
|
||||||
|
|
||||||
# Config modules
|
# Config modules
|
||||||
lumpiasty = {
|
lumpiasty = {
|
||||||
pc = true;
|
pc = true;
|
||||||
|
|||||||
@@ -9,6 +9,7 @@
|
|||||||
nix-sweep,
|
nix-sweep,
|
||||||
peerix,
|
peerix,
|
||||||
acer-wmi-ext,
|
acer-wmi-ext,
|
||||||
|
ntfsplus,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
hardwareConfig: hostConfig:
|
hardwareConfig: hostConfig:
|
||||||
@@ -36,6 +37,7 @@ nixpkgs.lib.nixosSystem {
|
|||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
nix-sweep.nixosModules.default
|
nix-sweep.nixosModules.default
|
||||||
peerix.nixosModules.peerix
|
peerix.nixosModules.peerix
|
||||||
|
ntfsplus.nixosModules.default
|
||||||
../modules
|
../modules
|
||||||
hostConfig
|
hostConfig
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user