lots
This commit is contained in:
parent
59b0c85d63
commit
e09709c638
22 changed files with 335 additions and 197 deletions
|
|
@ -1,10 +1,12 @@
|
|||
{lib, ...}: {
|
||||
{ lib, ... }:
|
||||
{
|
||||
imports = [
|
||||
./common.nix
|
||||
./laptop.nix
|
||||
./nfs.nix
|
||||
./restic.nix
|
||||
./ssh/default.nix
|
||||
./logrotate.nix
|
||||
];
|
||||
|
||||
laptop.enable = lib.mkDefault false;
|
||||
|
|
|
|||
14
common/nixos/logrotate.nix
Normal file
14
common/nixos/logrotate.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
services.logrotate = {
|
||||
settings = {
|
||||
"var/log/audit/audit.log" = {
|
||||
frequency = "daily";
|
||||
rotate = 3;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
@ -6,7 +6,8 @@
|
|||
inputs,
|
||||
outputs,
|
||||
...
|
||||
}: {
|
||||
}:
|
||||
{
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
# started in user sessions.
|
||||
programs.gnupg.agent = {
|
||||
|
|
@ -20,7 +21,7 @@
|
|||
alejandra
|
||||
sops
|
||||
just
|
||||
vim
|
||||
# vim
|
||||
wget
|
||||
home-manager
|
||||
git
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue