Enable autoUpgrade by default for NixOS hosts

NoMachine no longer floating
This commit is contained in:
Evie Litherland-Smith 2023-07-04 07:35:30 +01:00
parent 3d38e32e83
commit 6cb0d695ee
5 changed files with 6 additions and 8 deletions

View file

@ -31,10 +31,7 @@
"Element".desktop = "chat"; "Element".desktop = "chat";
"Signal".desktop = "chat"; "Signal".desktop = "chat";
"teams-for-linux".desktop = "chat"; "teams-for-linux".desktop = "chat";
"Nxplayer.bin" = { "Nxplayer.bin".desktop = "remote";
desktop = "remote";
state = "floating";
};
}; };
extraConfig = '' extraConfig = ''
xsetroot -cursor_name left_ptr xsetroot -cursor_name left_ptr

View file

@ -17,8 +17,6 @@
nameservers = ["192.168.1.230" "127.0.0.1" "9.9.9.9"]; nameservers = ["192.168.1.230" "127.0.0.1" "9.9.9.9"];
}; };
system.autoUpgrade = { system.autoUpgrade = {
enable = true;
flake = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
dates = "02:00"; dates = "02:00";
allowReboot = true; allowReboot = true;
rebootWindow = { rebootWindow = {

View file

@ -25,6 +25,7 @@
environment.etc."ppp/options".text = '' environment.etc."ppp/options".text = ''
ipcp-accept-remote ipcp-accept-remote
''; '';
system.autoUpgrade.allowReboot = false;
users.users.elitherl = { users.users.elitherl = {
isNormalUser = true; isNormalUser = true;

View file

@ -18,8 +18,6 @@
hardware.bluetooth.enable = true; hardware.bluetooth.enable = true;
hardware.opengl.driSupport32Bit = true; hardware.opengl.driSupport32Bit = true;
system.autoUpgrade.enable = true;
system.autoUpgrade.flake = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
system.autoUpgrade.allowReboot = false; system.autoUpgrade.allowReboot = false;
environment.systemPackages = with pkgs; [mesa]; environment.systemPackages = with pkgs; [mesa];

View file

@ -11,6 +11,10 @@
keep-derivations = true keep-derivations = true
''; '';
}; };
system.autoUpgrade = {
enable = true;
flake = "git+https://git.xenia.me.uk/xenia/nixos.git?ref=main";
};
networking.networkmanager.enable = true; networking.networkmanager.enable = true;
services.power-profiles-daemon.enable = true; services.power-profiles-daemon.enable = true;
virtualisation.podman.enable = true; virtualisation.podman.enable = true;