1
0
Fork 0

Compare commits

..

No commits in common. "32dc2888dfd2a2a93661a70b10f3e4ac8b7119c1" and "dde51666ea56e5735d67b7130250acca3042852a" have entirely different histories.

3 changed files with 5 additions and 16 deletions

View file

@ -313,11 +313,11 @@
}, },
"nixpkgs_2": { "nixpkgs_2": {
"locked": { "locked": {
"lastModified": 1723282977, "lastModified": 1722987190,
"narHash": "sha256-oTK91aOlA/4IsjNAZGMEBz7Sq1zBS0Ltu4/nIQdYDOg=", "narHash": "sha256-68hmex5efCiM2aZlAAEcQgmFI4ZwWt8a80vOeB/5w3A=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "a781ff33ae258bbcfd4ed6e673860c3e923bf2cc", "rev": "21cc704b5e918c5fbf4f9fff22b4ac2681706d90",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -49,7 +49,7 @@ in
boot.binfmt.emulatedSystems = [ "aarch64-linux" ]; boot.binfmt.emulatedSystems = [ "aarch64-linux" ];
# Build Nix packages for other hosts. # Build Nix packages for other hosts.
# Runs every day at 4 AM # Runs every Saturday at 4 AM
systemd.services."build-hosts" = { systemd.services."build-hosts" = {
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
@ -66,7 +66,7 @@ in
after = [ "network-online.target" ]; after = [ "network-online.target" ];
wantedBy = [ "timers.target" ]; wantedBy = [ "timers.target" ];
timerConfig = { timerConfig = {
OnCalendar = "04:00"; OnCalendar = "Sat 04:00";
Persistent = true; Persistent = true;
Unit = "build-hosts.service"; Unit = "build-hosts.service";
}; };

View file

@ -46,9 +46,6 @@ in
environment.systemPackages = cfg.corePackages ++ cfg.packages; environment.systemPackages = cfg.corePackages ++ cfg.packages;
services = { services = {
# Automatically set the timezone
automatic-timezoned.enable = true;
# Enable fwupd (firmware updater) # Enable fwupd (firmware updater)
fwupd.enable = true; fwupd.enable = true;
@ -73,14 +70,6 @@ in
}; };
}; };
# Enable visual updates
system.activationScripts.diff = {
supportsDryActivation = true;
text = ''
${pkgs.nvd}/bin/nvd --nix-bin-dir=${pkgs.nix}/bin diff /run/current-system "$systemConfig"
'';
};
# Limit logout stop timer duration to 30 seconds # Limit logout stop timer duration to 30 seconds
systemd.user.extraConfig = '' systemd.user.extraConfig = ''
DefaultTimeoutStopSec=30s DefaultTimeoutStopSec=30s