-{ flakes, pkgs, lib, config, ... }:
+{ inputs, pkgs, lib, config, ... }:
let inherit (lib) types;
inherit (config.networking) hostName domain;
in
"nixpkgs=/etc/nixpkgs:nixpkgs-overlays=/etc/nixpkgs-overlays/overlays.nix"
];
};
-environment.etc."nixpkgs".source = flakes.nixpkgs;
-environment.etc."nixpkgs-overlays".source = flakes.self + "/nixpkgs";
+environment.etc."nixpkgs".source = pkgs.path;
+environment.etc."nixpkgs-overlays".source = inputs.self + "/nixpkgs";
nixpkgs = {
config = {
};
*/
};
- overlays = import (flakes.self + "/nixpkgs/overlays.nix");
};
documentation.nixos = {
journald = {
extraConfig = ''
Compress=true
- MaxRetentionSec=3month
+ MaxRetentionSec=1month
Storage=persistent
- SystemMaxUse=500M
+ SystemMaxUse=128M
'';
};
};
nmon
pv
swaplist
+ stress
tcpdump
tmux
tree
};
mosh.enable = true;
mtr.enable = true;
+ traceroute.enable = true;
};
}