Compare commits

..

6 Commits

Author SHA1 Message Date
coolneng 5dc9d94c60
Change network subnet 2022-07-12 20:49:08 +02:00
coolneng ed692af8d0 flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/87e7965bbcdbac3d103e3ed14ff04f719a4f7a58' (2022-07-09)
  → 'github:NixOS/nixpkgs/5f43d8b088d3771274bcfb69d3c7435b1121ac88' (2022-07-10)
2022-07-12 16:29:10 +02:00
coolneng 32c3bf2d77
Use attrset for agenix input settings 2022-07-12 14:54:19 +02:00
coolneng 2e5fcf2975
Replace logrotate with a journalctl option 2022-07-12 14:53:54 +02:00
coolneng d8813bdfff flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/b39924fc7764c08ae3b51beef9a3518c414cdb7d' (2022-07-08)
  → 'github:NixOS/nixpkgs/87e7965bbcdbac3d103e3ed14ff04f719a4f7a58' (2022-07-09)
2022-07-11 00:43:01 +02:00
coolneng e074d8e23a flake.lock: Update
Flake lock file updates:

• Updated input 'nixpkgs':
    'github:NixOS/nixpkgs/a5c867d9fe9e4380452628e8f171c26b69fa9d3d' (2022-07-06)
  → 'github:NixOS/nixpkgs/b39924fc7764c08ae3b51beef9a3518c414cdb7d' (2022-07-08)
2022-07-10 00:06:21 +02:00
4 changed files with 12 additions and 19 deletions

View File

@ -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 = {

View File

@ -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": {

View File

@ -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;

View File

@ -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";
};