This commit is contained in:
pazpi 2024-09-13 13:31:59 +02:00
parent 1d868976b8
commit 07fb22e47e
8 changed files with 48 additions and 38 deletions

View file

@ -1,11 +1,14 @@
# Starting image for LXC containers on Proxmox
{ config, pkgs, modulesPath, ... }:
{
config,
pkgs,
modulesPath,
...
}:
{
imports = [
(modulesPath + "/virtualisation/proxmox-lxc.nix")
];
imports = [ (modulesPath + "/virtualisation/proxmox-lxc.nix") ];
users = {
users.root = {
@ -16,7 +19,10 @@
};
};
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
# Auto update
system.autoUpgrade.enable = true;

View file

@ -1,7 +1,8 @@
{ config
, pkgs
, lib
, ...
{
config,
pkgs,
lib,
...
}:
let
tailscaleMagicDNS = "neon-dory.ts.net";

View file

@ -1,8 +1,9 @@
{ config
, pkgs
, lib
, home-manager
, ...
{
config,
pkgs,
lib,
home-manager,
...
}:
let
tailscaleMagicDNS = "neon-dory.ts.net";

View file

@ -1,9 +1,10 @@
{ nixpkgs
, nixos-hardware
, agenix
, home-manager
, lix-module
, ...
{
nixpkgs,
nixos-hardware,
agenix,
home-manager,
lix-module,
...
}:
let
agenixOverlay = final: prev: { agenix = agenix.packages.${prev.system}.default; };

View file

@ -1,7 +1,8 @@
{ config
, pkgs
, lib
, ...
{
config,
pkgs,
lib,
...
}:
let
tailscaleMagicDNS = "neon-dory.ts.net";

View file

@ -1,7 +1,8 @@
{ lib
, config
, pkgs
, ...
{
lib,
config,
pkgs,
...
}:
let
cfg = config.my.desktop.networking;

View file

@ -1,7 +1,8 @@
{ lib
, config
, pkgs
, ...
{
lib,
config,
pkgs,
...
}:
let
cfg = config.my.desktop.plymouth;

View file

@ -12,10 +12,8 @@ let
};
in
builtins.listToAttrs (
map
(secretName: {
map (secretName: {
name = "secrets/${secretName}.age";
value.publicKeys = secrets."${secretName}" ++ keys.infra-core;
})
(builtins.attrNames secrets)
}) (builtins.attrNames secrets)
)