add gitattributes

This commit is contained in:
Dmitriy 2019-08-27 23:54:21 +04:00
parent 5ab224ef8f
commit 2358546700
2 changed files with 5 additions and 1 deletions

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* eol=lf

View File

@ -1,7 +1,10 @@
{ pkgs, lib, config, ... }: {
fileSystems = {
"/" = {
options = [ "subvol=nixos" "discard" "ssd" "noatime" "compress=zstd" ];
options = if config.deviceSpecific.isSSD then
[ "discard" "ssd" "noatime" "compress=zstd" ]
else
[ "discard" "noatime" "compress=zstd" ];
};
"/shared" = {
fsType = "vboxsf";