From 7b01c571ae9affcd20ca732d125bc5b68de9f8a8 Mon Sep 17 00:00:00 2001 From: victor Date: Mon, 17 Oct 2022 11:55:27 +0200 Subject: [PATCH] flake update --- flake.lock | 24 ++++++++++++------------ nixos/common/default.nix | 6 ++++++ nixos/lxc-template.nix | 2 ++ 3 files changed, 20 insertions(+), 12 deletions(-) diff --git a/flake.lock b/flake.lock index 4d94583..91c5aab 100644 --- a/flake.lock +++ b/flake.lock @@ -420,11 +420,11 @@ "utils": "utils_2" }, "locked": { - "lastModified": 1665655007, - "narHash": "sha256-34ZMJlgqJb73RY/gJz8B4cjdM5ukas2crMYQpmyRGeQ=", + "lastModified": 1665991686, + "narHash": "sha256-VbhugQ+NhybgCfU1gpbEQ6QFYrVQ3jRioYIYFVZ+KPs=", "owner": "nix-community", "repo": "home-manager", - "rev": "8cbc6500dfca22d907054f68c564019b3b6cf295", + "rev": "e901c8d86082be74a8be70773bbb6d401ff21e49", "type": "github" }, "original": { @@ -439,11 +439,11 @@ "wlroots": "wlroots" }, "locked": { - "lastModified": 1665789673, - "narHash": "sha256-Ivnm8S9BDkXALM2RWrfHtmd7lF8Tw3AIQTRhQTJERZA=", + "lastModified": 1665955562, + "narHash": "sha256-h28jGbOaZCUCPWEtzyWuPpR6XXEmOYB3rjjj0DXhwgo=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "610d4d9473162800bfd86a4d6842201011ef2f80", + "rev": "58375bc87a189c915d12ad93d202462427e239ac", "type": "github" }, "original": { @@ -550,11 +550,11 @@ "utils": "utils_4" }, "locked": { - "lastModified": 1665799157, - "narHash": "sha256-PlJ3uVIRgn4xXcKv+NgRt9DhrzPR8NhONOzx0Hl7vU8=", + "lastModified": 1665972530, + "narHash": "sha256-0pDAiY9m+PMBhAVE2JIK2uFClCpiYOz760peby/Okd4=", "owner": "jyooru", "repo": "nix-minecraft-servers", - "rev": "f0adef60591301c99bf65ea50d1578b980b2d1bc", + "rev": "ebeb9cd865e5844ee03304de331a5da3c278bf9a", "type": "github" }, "original": { @@ -737,11 +737,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1665769685, - "narHash": "sha256-R/y+sWuViP4JbVTYqwBc9Miejf0VDXTEyFFS0PKi6sQ=", + "lastModified": 1666000441, + "narHash": "sha256-yetw+pK0soEDDn/KejAOs9xp8U/XFmnq/hPZRA55PDY=", "owner": "NULLx76", "repo": "nixpkgs", - "rev": "004d2f87c0be22f91916d84eaebd145d666acbcd", + "rev": "136d760d8dce4641bb4e9c4ceffa2c25de725ac9", "type": "github" }, "original": { diff --git a/nixos/common/default.nix b/nixos/common/default.nix index 5482ec0..a1a09f0 100644 --- a/nixos/common/default.nix +++ b/nixos/common/default.nix @@ -52,6 +52,12 @@ automatic = true; dates = [ "weekly" ]; }; + gc = { + automatic = true; + dates = [ "weekly" ]; + randomizedDelaySec = "3h"; + options = "--delete-older-than 7d"; + }; extraOptions = '' experimental-features = nix-command flakes ''; diff --git a/nixos/lxc-template.nix b/nixos/lxc-template.nix index d4337bd..974f7fb 100644 --- a/nixos/lxc-template.nix +++ b/nixos/lxc-template.nix @@ -9,6 +9,8 @@ permitRootLogin = "yes"; }; + networking.hostName = "template"; + time.timeZone = lib.mkDefault "Europe/Amsterdam"; networking.interfaces.eth0.useDHCP = true;