Make autoUpgrade not be the default, enable where wanted
This commit is contained in:
parent
d2c1486ece
commit
f7edaab157
|
@ -20,6 +20,7 @@ in {
|
|||
nameservers = ["192.168.1.230" "127.0.0.1" "9.9.9.9"];
|
||||
};
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
dates = "02:00";
|
||||
allowReboot = true;
|
||||
rebootWindow = {
|
||||
|
|
|
@ -28,6 +28,7 @@ in {
|
|||
opengl.driSupport32Bit = true;
|
||||
steam-hardware.enable = true;
|
||||
};
|
||||
system.autoUpgrade.enable = true;
|
||||
environment.systemPackages = with pkgs; [mesa];
|
||||
programs = {
|
||||
xwayland.enable = true;
|
||||
|
|
|
@ -17,10 +17,7 @@ in {
|
|||
keep-derivations = true
|
||||
'';
|
||||
};
|
||||
system.autoUpgrade = {
|
||||
enable = true;
|
||||
flake = flakeURL;
|
||||
};
|
||||
system.autoUpgrade.flake = flakeURL;
|
||||
environment = {
|
||||
localBinInPath = true;
|
||||
shellAliases = {
|
||||
|
|
|
@ -1,5 +1,12 @@
|
|||
{lib, ...}: let
|
||||
defaultDataDir = "/var/lib/syncthing";
|
||||
deviceGroups = {
|
||||
all = ["Ion" "Legion" "Monarch" "Northstar" "Ronin" "Vanguard"];
|
||||
personal = ["Ion" "Legion" "Monarch" "Northstar" "Vanguard"];
|
||||
work = ["Ion" "Legion" "Ronin"];
|
||||
desktops = ["Legion" "Northstar" "Vanguard"];
|
||||
mobile = ["Ion" "Legion" "Monarch" "Ronin"];
|
||||
};
|
||||
in {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
|
@ -10,66 +17,64 @@ in {
|
|||
"Ion".id = "7DD4NPH-6T2ET5A-4FCLFWW-CS6UR2W-IO5XQXC-DM5B2Q4-6X7DGU2-UKKVEAB";
|
||||
"Legion".id = "6OX54CG-EAQMXKA-K7TXB5P-G5A27HB-52JE2FA-XNAYZU6-YMIDBXP-RKPBJQV";
|
||||
"Monarch".id = "CJSUZQY-67XBLEZ-VKVHQHI-BLEUZNF-G4237AV-AW44CGH-F3JDKXU-CWT3RQZ";
|
||||
"Nortstar".id = "W3QZTFS-BB42JYB-NQBZ5IM-H3WLAUQ-M57I2CP-FALWGEX-JI2ZZOC-QWAX2QQ";
|
||||
# "Nortstar".id = "";
|
||||
"Ronin".id = "ZOL5YHK-ZZZULIE-UHGVKHW-H5E4BP7-S4CZBOX-OIZVUCV-RZUXOKA-QVBUBAJ";
|
||||
"Vanguard".id = "I366QNQ-D3FTDRX-RNOTXMW-YITZXOF-DSCDMQD-63Q72LI-ME2Y4HZ-T34RMQK";
|
||||
"Remarkable".id = "GHB6JKS-JOA3HHP-TYHB3IJ-GLV26QW-RWRZAMG-XYFGFB6-QLUHDSH-GNPZVAO";
|
||||
};
|
||||
folders = {
|
||||
"Archive" = {
|
||||
id = "hwnqy-xzcdx";
|
||||
path = lib.mkDefault (defaultDataDir + "/Archive");
|
||||
ignorePerms = true;
|
||||
devices = ["Ion" "Legion" "Monarch" "Vanguard"];
|
||||
devices = deviceGroups.desktops;
|
||||
};
|
||||
"Books" = {
|
||||
id = "zjmxy-ycmbq";
|
||||
path = lib.mkDefault (defaultDataDir + "/Books");
|
||||
ignorePerms = true;
|
||||
devices = ["Legion" "Monarch" "Nortstar" "Remarkable" "Vanguard"];
|
||||
devices = deviceGroups.desktops;
|
||||
};
|
||||
"Comics" = {
|
||||
id = "kc2h0-q3wot";
|
||||
path = lib.mkDefault (defaultDataDir + "/Comics");
|
||||
ignorePerms = true;
|
||||
devices = ["Ion" "Legion" "Monarch" "Nortstar" "Vanguard"];
|
||||
devices = deviceGroups.desktops;
|
||||
};
|
||||
"Documents" = {
|
||||
id = "qc6qa-bipsd";
|
||||
path = lib.mkDefault (defaultDataDir + "/Documents");
|
||||
ignorePerms = true;
|
||||
devices = ["Legion" "Monarch" "Nortstar" "Vanguard"];
|
||||
devices = deviceGroups.desktops;
|
||||
};
|
||||
"Exports" = {
|
||||
id = "tof2e-pdtde";
|
||||
path = lib.mkDefault (defaultDataDir + "/Exports");
|
||||
ignorePerms = true;
|
||||
devices = ["Legion" "Monarch" "Vanguard"];
|
||||
devices = deviceGroups.desktops;
|
||||
};
|
||||
"Notes" = {
|
||||
id = "4ggjz-5dyop";
|
||||
path = lib.mkDefault (defaultDataDir + "/Notes");
|
||||
ignorePerms = true;
|
||||
devices = ["Ion" "Legion" "Monarch" "Nortstar" "Ronin" "Vanguard"];
|
||||
devices = deviceGroups.all;
|
||||
};
|
||||
"Pictures" = {
|
||||
id = "ziuj8-rm6dn";
|
||||
path = lib.mkDefault (defaultDataDir + "/Pictures");
|
||||
ignorePerms = true;
|
||||
devices = ["Ion" "Legion" "Monarch" "Nortstar" "Vanguard"];
|
||||
devices = deviceGroups.personal;
|
||||
};
|
||||
"Xochitl" = {
|
||||
id = "dkcbx-kq7hl";
|
||||
path = lib.mkDefault (defaultDataDir + "/Xochitl");
|
||||
type = "receiveonly";
|
||||
"Tasks" = {
|
||||
id = "qzdat-3zzhw";
|
||||
path = lib.mkDefault "~/.local/share/task";
|
||||
ignorePerms = true;
|
||||
devices = ["Legion" "Remarkable"];
|
||||
devices = deviceGroups.all;
|
||||
};
|
||||
"Zotero" = {
|
||||
id = "huyvn-liwc9";
|
||||
path = lib.mkDefault (defaultDataDir + "/Zotero");
|
||||
ignorePerms = true;
|
||||
devices = ["Ion" "Legion" "Monarch" "Nortstar" "Ronin" "Vanguard"];
|
||||
devices = deviceGroups.all;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue