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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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