Only autoUpgrade server, not desktops
This commit is contained in:
parent
770765389b
commit
438ded4064
10
flake.nix
10
flake.nix
|
@ -247,7 +247,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in systemConfig {
|
in systemConfig {
|
||||||
inherit hostName user system;
|
inherit hostName user system;
|
||||||
systemModules = [ ./system/default.nix ./system/autoupgrade.nix ];
|
systemModules = [ ./system/default.nix ];
|
||||||
serviceModules = [
|
serviceModules = [
|
||||||
./services/adguardhome.nix
|
./services/adguardhome.nix
|
||||||
./services/caddy.nix
|
./services/caddy.nix
|
||||||
|
@ -280,10 +280,7 @@
|
||||||
hostName = "Scorch";
|
hostName = "Scorch";
|
||||||
user = "elitherl";
|
user = "elitherl";
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in systemConfig {
|
in systemConfig { inherit hostName user system; };
|
||||||
inherit hostName user system;
|
|
||||||
systemModules = default.systemModules ++ [ ./system/autoupgrade.nix ];
|
|
||||||
};
|
|
||||||
|
|
||||||
Vanguard = let
|
Vanguard = let
|
||||||
hostName = "Vanguard";
|
hostName = "Vanguard";
|
||||||
|
@ -291,8 +288,7 @@
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in systemConfig {
|
in systemConfig {
|
||||||
inherit hostName user system;
|
inherit hostName user system;
|
||||||
systemModules = default.systemModules
|
systemModules = default.systemModules ++ [ ./system/steam.nix ];
|
||||||
++ [ ./system/autoupgrade.nix ./system/steam.nix ];
|
|
||||||
homeModules = default.homeModules ++ [ ./home/games/default.nix ];
|
homeModules = default.homeModules ++ [ ./home/games/default.nix ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
# Edit this configuration file to define what should be installed on
|
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
|
||||||
# and in the NixOS manual (accessible by running `nixos-help`).
|
|
||||||
{ ... }: {
|
{ ... }: {
|
||||||
users.mutableUsers = false;
|
users.mutableUsers = false;
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
enable = true;
|
||||||
|
flake = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
|
||||||
dates = "02:30";
|
dates = "02:30";
|
||||||
allowReboot = true;
|
allowReboot = true;
|
||||||
rebootWindow = {
|
rebootWindow = {
|
||||||
|
|
|
@ -14,6 +14,4 @@
|
||||||
'';
|
'';
|
||||||
systemPackages = with pkgs; [ openfortivpn samba nomachine-client ];
|
systemPackages = with pkgs; [ openfortivpn samba nomachine-client ];
|
||||||
};
|
};
|
||||||
|
|
||||||
system.autoUpgrade.allowReboot = false;
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,4 @@
|
||||||
{ config, ... }: {
|
{ config, ... }: {
|
||||||
system.autoUpgrade.allowReboot = false;
|
|
||||||
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||||
boot.extraModprobeConfig = ''
|
boot.extraModprobeConfig = ''
|
||||||
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
options v4l2loopback devices=1 video_nr=1 card_label="OBS Cam" exclusive_caps=1
|
||||||
|
|
|
@ -1,6 +0,0 @@
|
||||||
{ ... }: {
|
|
||||||
system.autoUpgrade = {
|
|
||||||
enable = true;
|
|
||||||
flake = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
|
|
||||||
};
|
|
||||||
}
|
|
Loading…
Reference in a new issue