Fixing NixOS after switching hardware

This commit is contained in:
2026-05-05 12:28:36 +03:00
parent 882586911c
commit df7159ffb6
2 changed files with 15 additions and 15 deletions

View File

@@ -11,16 +11,16 @@
# Automaticaly mount C drive
fileSystems."/mnt/c" = {
device = "/dev/nvme0n1p4";
device = "/dev/nvme1n1p4";
fsType = "ntfs-3g";
options = [ "rw" "noatime" "uid=1000" ];
options = [ "rw" "noatime" "uid=1000" "nofail" ];
};
# Automatically mount E drive
fileSystems."/mnt/e" = {
device = "/dev/sda2";
fsType = "ntfs-3g";
options = [ "rw" "noatime" "uid=1000" ];
};
# fileSystems."/mnt/e" = {
# device = "/dev/sda2";
# fsType = "ntfs-3g";
# options = [ "rw" "noatime" "uid=1000" ];
# };
}

View File

@@ -38,14 +38,14 @@
###########################################################################
systemd.timers."git-auto-mirror" = {
wantedBy = [ "timers.target" ];
timerConfig = {
OnBootSec = "1m";
OnUnitActiveSec = "5h";
Unit = "git-auto-mirror.service";
};
};
# systemd.timers."git-auto-mirror" = {
# wantedBy = [ "timers.target" ];
# timerConfig = {
# OnBootSec = "1m";
# OnUnitActiveSec = "5h";
# Unit = "git-auto-mirror.service";
# };
# };
sops.secrets.gitea-sync-token = { owner = "kyren"; };
sops.secrets.github-mirror-token = { owner = "kyren"; };