nix fmt
This commit is contained in:
parent
1d868976b8
commit
07fb22e47e
8 changed files with 48 additions and 38 deletions
|
|
@ -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;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
{ config
|
{
|
||||||
, pkgs
|
config,
|
||||||
, lib
|
pkgs,
|
||||||
, ...
|
lib,
|
||||||
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
tailscaleMagicDNS = "neon-dory.ts.net";
|
tailscaleMagicDNS = "neon-dory.ts.net";
|
||||||
|
|
|
||||||
|
|
@ -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";
|
||||||
|
|
|
||||||
|
|
@ -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; };
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
{ config
|
{
|
||||||
, pkgs
|
config,
|
||||||
, lib
|
pkgs,
|
||||||
, ...
|
lib,
|
||||||
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
tailscaleMagicDNS = "neon-dory.ts.net";
|
tailscaleMagicDNS = "neon-dory.ts.net";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
{ lib
|
{
|
||||||
, config
|
lib,
|
||||||
, pkgs
|
config,
|
||||||
, ...
|
pkgs,
|
||||||
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.my.desktop.networking;
|
cfg = config.my.desktop.networking;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,8 @@
|
||||||
{ lib
|
{
|
||||||
, config
|
lib,
|
||||||
, pkgs
|
config,
|
||||||
, ...
|
pkgs,
|
||||||
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.my.desktop.plymouth;
|
cfg = config.my.desktop.plymouth;
|
||||||
|
|
|
||||||
|
|
@ -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)
|
|
||||||
)
|
)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue