2024-03-21 15:00:36 +01:00
|
|
|
{ pkgs, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
with lib.metacfg;
|
|
|
|
{
|
|
|
|
imports = [ ./hardware-configuration.nix ];
|
|
|
|
|
|
|
|
metacfg = {
|
|
|
|
base.enable = true;
|
|
|
|
gui.enable = true;
|
|
|
|
nix-ld.enable = true;
|
|
|
|
nix.enable = true;
|
|
|
|
podman.enable = true;
|
|
|
|
secureboot.enable = true;
|
2024-07-11 15:06:41 +02:00
|
|
|
homeprinter.enable = true;
|
2024-08-28 14:42:09 +02:00
|
|
|
user.extraGroups = [ "docker" "dialout" ];
|
2024-03-21 15:00:36 +01:00
|
|
|
};
|
|
|
|
|
2024-06-24 16:13:56 +02:00
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
azure-cli
|
|
|
|
cloudflare-warp
|
|
|
|
desktop-file-utils
|
|
|
|
kubectl
|
2024-06-24 17:27:30 +02:00
|
|
|
kubectx
|
2024-06-28 09:17:11 +02:00
|
|
|
k9s
|
2024-06-28 12:38:53 +02:00
|
|
|
attic-client
|
2024-06-24 16:13:56 +02:00
|
|
|
];
|
2024-07-11 13:31:46 +02:00
|
|
|
|
|
|
|
services.resolved.enable = true;
|
|
|
|
services.resolved.dnssec = "allow-downgrade";
|
2024-07-25 13:53:45 +02:00
|
|
|
services.resolved.extraConfig = ''
|
2024-08-06 09:07:33 +02:00
|
|
|
ResolveUnicastSingleLabel=yes
|
2024-07-25 13:53:45 +02:00
|
|
|
'';
|
2024-07-11 13:31:46 +02:00
|
|
|
|
2024-06-24 16:13:56 +02:00
|
|
|
systemd.packages = [ pkgs.cloudflare-warp ]; # for warp-cli
|
|
|
|
|
2024-04-11 10:48:50 +02:00
|
|
|
virtualisation = {
|
|
|
|
docker.enable = true;
|
|
|
|
libvirtd.enable = true;
|
|
|
|
podman.dockerCompat = false;
|
|
|
|
};
|
|
|
|
|
2024-03-21 15:00:36 +01:00
|
|
|
system.autoUpgrade = {
|
|
|
|
enable = true;
|
|
|
|
operation = "boot";
|
|
|
|
allowReboot = false;
|
|
|
|
};
|
|
|
|
|
2024-06-17 15:00:01 +02:00
|
|
|
services.trezord.enable = true;
|
|
|
|
|
2024-10-23 10:16:01 +02:00
|
|
|
systemd.user.extraConfig = "DefaultLimitNOFILE=32000";
|
|
|
|
|
|
|
|
security.pam.loginLimits = [
|
|
|
|
{ domain = "*"; item = "nofile"; type = "-"; value = "32768"; }
|
|
|
|
{ domain = "*"; item = "memlock"; type = "-"; value = "32768"; }
|
|
|
|
];
|
|
|
|
|
2024-03-21 15:00:36 +01:00
|
|
|
system.stateVersion = "23.11";
|
|
|
|
}
|