Fixing NixOS after switching hardware
This commit is contained in:
@@ -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" ];
|
||||
# };
|
||||
|
||||
}
|
||||
|
||||
@@ -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"; };
|
||||
|
||||
Reference in New Issue
Block a user