chore: flake maintenance
Some checks are pending
Flake check / Check flake (push) Waiting to run

This commit is contained in:
Leon Schwarzäugl 2025-09-23 17:34:19 +02:00
parent d0f432b717
commit ad2241586e
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
49 changed files with 3232 additions and 3893 deletions

View file

@ -29,6 +29,7 @@
swarsel-instantiate
swarselzellij
sshrm
endme
rustdesk-vbc
];

View file

@ -2,7 +2,7 @@
let
inherit (nixosConfig.repo.secrets.common.mail) address1 address2 address3 address4 allMailAddresses;
inherit (nixosConfig.repo.secrets.common.calendar) source1 source1-name source2 source2-name source3 source3-name;
inherit (nixosConfig.repo.secrets.common) fullName;
inherit (nixosConfig.repo.secrets.common) fullName openrouterApi;
inherit (config.swarselsystems) isPublic homeDir;
DISPLAY = ":0";
@ -30,6 +30,7 @@ in
SWARSEL_FULLNAME = fullName;
SWARSEL_MAIL_ALL = allMailAddresses;
GITHUB_NOTIFICATION_TOKEN_PATH = nixosConfig.sops.secrets.github-notifications-token.path;
OPENROUTER_API_KEY = openrouterApi;
};
};
}

View file

@ -1,7 +1,6 @@
{ lib, config, nixosConfig ? null, ... }:
let
# mirrorAttrs = lib.mapAttrs (_: v: lib.mkDefault v) nixosConfig.swarselsystems;
inherit (lib) mkDefault mapAttrs filterAttrs;
mkDefaultCommonAttrs = base: defaults:
lib.mapAttrs (_: v: lib.mkDefault v)
(lib.filterAttrs (k: _: base ? ${k}) defaults);

View file

@ -18,6 +18,8 @@ in
stable.prometheus.cli
tigervnc
openstackclient
vscode
];
systemd.user.sessionVariables = {

View file

@ -3,7 +3,6 @@ let
certsSopsFile = self + /secrets/certs/secrets.yaml;
clientSopsFile = self + /secrets/${config.node.name}/secrets.yaml;
inherit (config.swarselsystems) mainUser;
inherit (config.repo.secrets.common.network) wlan1 wlan2 mobile1 vpn1-location vpn1-cipher vpn1-address eduroam-anon;
iwd = config.networking.networkmanager.wifi.backend == "iwd";

View file

@ -47,6 +47,7 @@
libdbusmenu-gtk2
libdrm
libelf
libgbm
libgcrypt
libglvnd
libidn

View file

@ -1,4 +1,4 @@
{ self, inputs, config, lib, outputs, globals, options, nodes, minimal, configName, ... }:
{ self, inputs, config, lib, outputs, globals, nodes, minimal, configName, ... }:
{
options.swarselmodules.home-manager = lib.mkEnableOption "home-manager";
config = lib.mkIf config.swarselmodules.home-manager {

View file

@ -1,4 +1,4 @@
{ self, lib, config, ... }:
{ lib, config, ... }:
{
options.swarselsystems.info = lib.mkOption {
type = lib.types.str;

View file

@ -1,9 +1,9 @@
{ lib, config, ... }:
{
options.swarselmodules.optional.btrfs = lib.mkEnableOption "optional btrfs settings";
config = lib.mkIf config.swarselmodules.optional.btrfs {
options.swarselmodules.btrfs = lib.mkEnableOption "optional btrfs settings";
config = lib.mkIf config.swarselmodules.btrfs {
boot = {
supportedFilesystems = [ "btrfs" ];
supportedFilesystems = lib.mkIf config.swarselsystems.isBtrfs [ "btrfs" ];
};
};
}

View file

@ -1,4 +1,4 @@
{ self, lib, pkgs, config, globals, ... }:
{ lib, pkgs, config, globals, ... }:
let
servicePort = 7745;
serviceName = "homebox";