Compare commits
6 Commits
7317957a82
...
5dc9d94c60
Author | SHA1 | Date |
---|---|---|
coolneng | 5dc9d94c60 | |
coolneng | ed692af8d0 | |
coolneng | 32c3bf2d77 | |
coolneng | 2e5fcf2975 | |
coolneng | d8813bdfff | |
coolneng | e074d8e23a |
|
@ -68,17 +68,8 @@ in {
|
|||
# Clean tmp directory on shutdown
|
||||
boot.cleanTmpDir = true;
|
||||
|
||||
# Rotate logs after 7 days
|
||||
services.logrotate = {
|
||||
enable = true;
|
||||
settings = {
|
||||
"/var/log/journal" = {
|
||||
frequency = "weekly";
|
||||
rotate = 7;
|
||||
};
|
||||
};
|
||||
};
|
||||
systemd.services.logrotate.startAt = lib.mkForce "12:00:00";
|
||||
# Keep logs for a week
|
||||
services.journald.extraConfig = "MaxRetentionSec=1week";
|
||||
|
||||
# Allow propietary software and build packages with Pulseaudio support
|
||||
nixpkgs.config = {
|
||||
|
|
|
@ -38,11 +38,11 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1657114324,
|
||||
"narHash": "sha256-fWuaUNXrHcz/ciHRHlcSO92dvV3EVS0GJQUSBO5JIB4=",
|
||||
"lastModified": 1657447684,
|
||||
"narHash": "sha256-FCP9AuU1q6PE3vOeM5SFf58f/UKPBAsoSGDUGamNBbo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "a5c867d9fe9e4380452628e8f171c26b69fa9d3d",
|
||||
"rev": "5f43d8b088d3771274bcfb69d3c7435b1121ac88",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
|
|
@ -11,8 +11,10 @@
|
|||
|
||||
inputs = {
|
||||
nixpkgs.url = "nixpkgs/nixos-unstable";
|
||||
agenix.url = "github:ryantm/agenix";
|
||||
agenix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
agenix = {
|
||||
url = "github:ryantm/agenix";
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
openconnect-sso = {
|
||||
url = "github:vlaci/openconnect-sso";
|
||||
flake = false;
|
||||
|
|
|
@ -32,9 +32,9 @@
|
|||
Name = "wlan0";
|
||||
SSID = "WiFi-5.0-CE42";
|
||||
};
|
||||
address = [ "192.168.1.131/24" ];
|
||||
gateway = [ "192.168.1.1" ];
|
||||
dns = [ "192.168.1.2" ];
|
||||
address = [ "192.168.13.131/24" ];
|
||||
gateway = [ "192.168.13.1" ];
|
||||
dns = [ "192.168.13.2" ];
|
||||
networkConfig.DNSSEC = "no";
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue