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