test
This commit is contained in:
@@ -11,9 +11,9 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./boot.nix
|
./boot.nix
|
||||||
# ./apps.nix
|
./apps.nix
|
||||||
./users.nix
|
./users.nix
|
||||||
# ./services.nix
|
./services.nix
|
||||||
./sops.nix
|
./sops.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
@@ -54,8 +54,8 @@
|
|||||||
hardware = {
|
hardware = {
|
||||||
disko = {
|
disko = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableSwap = false;
|
enableSwap = true;
|
||||||
enableLuks = true;
|
enableLuks = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
nvidia = {
|
nvidia = {
|
||||||
@@ -169,7 +169,7 @@
|
|||||||
# ###################################################
|
# ###################################################
|
||||||
|
|
||||||
samba = {
|
samba = {
|
||||||
enable = false;
|
enable = true;
|
||||||
hostsAllow = "10.0.1.";
|
hostsAllow = "10.0.1.";
|
||||||
enableTimeMachine = true;
|
enableTimeMachine = true;
|
||||||
timeMachinePath = "/media/nas/main/timemachine";
|
timeMachinePath = "/media/nas/main/timemachine";
|
||||||
@@ -244,17 +244,21 @@
|
|||||||
# ###################################################
|
# ###################################################
|
||||||
# # Mounts # #
|
# # Mounts # #
|
||||||
# ###################################################
|
# ###################################################
|
||||||
# fileSystems."/media/nas/main" = {
|
fileSystems."/media/nas/main" = {
|
||||||
# label = "nas_pool";
|
label = "nas_pool";
|
||||||
# # device = "/dev/sde:/dev/sdf:/dev/sdh:/dev/sdi:/dev/sdj:/dev/nmve0n1:/dev/nvme1n1";
|
# device = "/dev/sde:/dev/sdf:/dev/sdh:/dev/sdi:/dev/sdj:/dev/nmve0n1:/dev/nvme1n1";
|
||||||
# fsType = "bcachefs";
|
fsType = "bcachefs";
|
||||||
# mountPoint = "/media/nas/main";
|
mountPoint = "/media/nas/main";
|
||||||
# options = [
|
options = [
|
||||||
# "nofail"
|
"noauto"
|
||||||
# "x-systemd.mount-timeout=0"
|
"nofail"
|
||||||
# "x-systemd.device-timeout=0"
|
"x-systemd.mount-timeout=0"
|
||||||
# ];
|
"x-systemd.device-timeout=0"
|
||||||
# };
|
];
|
||||||
|
};
|
||||||
|
|
||||||
|
boot.initrd.systemd.services."unlock-bcachefs-media-nas-main".enable = false;
|
||||||
|
systemd.services."unlock-bcachefs-media-nas-main".enable = false;
|
||||||
|
|
||||||
# Configure environment
|
# Configure environment
|
||||||
environment = {
|
environment = {
|
||||||
|
|||||||
Reference in New Issue
Block a user