nixcfg/systems/x86_64-linux/x1/default.nix
Harald Hoyer b75e42ab0a use host variable
Signed-off-by: Harald Hoyer <harald@hoyer.xyz>
2024-03-06 15:52:12 +01:00

32 lines
705 B
Nix

{ pkgs, lib, host, ... }:
with lib;
with lib.plusultra;
{
imports = [ ./hardware-configuration.nix ];
plusultra = {
base.enable = true;
gui.enable = true;
nix-ld.enable = true;
nix.enable = true;
nix.extra-substituters."https://nixsgx.cachix.org".key = "nixsgx.cachix.org-1:tGi36DlY2joNsIXOlGnSgWW0+E094V6hW0umQRo/KoE=";
podman.enable = true;
secureboot.enable = true;
};
system.autoUpgrade = {
enable = true;
operation = "boot";
allowReboot = false;
flags = [
"--update-input"
"nixpkgs"
"--update-input"
"unstable"
];
flake = "git+https://git.hoyer.xyz/harald/nixcfg#${host}";
};
system.stateVersion = "23.11";
}