silence some eval warning

This commit is contained in:
Julien Malka 2023-11-24 22:07:16 +01:00
parent 9dd214a956
commit 88005ad291
Signed by: Luj
GPG key ID: 6FC74C847011FD83
7 changed files with 24 additions and 20 deletions
home-manager-modules/waybar
machines
core-security
fischer
tower
modules/drone
users

View file

@ -7,7 +7,7 @@ with lib;
options.luj.programs.waybar = {
enable = mkEnableOption "Enable waybar";
interfaceName = mkOption {
type = lib.types.string;
type = lib.types.str;
};
};

View file

@ -101,7 +101,7 @@
services.keycloak = {
enable = true;
database.createLocally = true;
database.passwordFile = "/run/secrets/keycloak";
database.hashedPasswordFile = "/run/secrets/keycloak";
settings = {
hostname = "auth.julienmalka.me";
hostname-admin-url = "https://auth.julienmalka.me";

View file

@ -133,13 +133,15 @@
settings.options.urAccepted = -1;
overrideDevices = true;
overrideFolders = true;
devices = {
"tower" = { id = "XEPZZIP-GX73OKE-KNGZA47-XWWGI5G-LNXPU57-BMLXK5M-VNGS5UQ-ZFIZSAK"; };
};
folders = {
"dev" = {
path = "/home/julien/dev";
devices = [ "tower" ];
settings = {
devices = {
"tower" = { id = "XEPZZIP-GX73OKE-KNGZA47-XWWGI5G-LNXPU57-BMLXK5M-VNGS5UQ-ZFIZSAK"; };
};
folders = {
"dev" = {
path = "/home/julien/dev";
devices = [ "tower" ];
};
};
};
};

View file

@ -171,14 +171,16 @@
group = "users";
overrideDevices = true;
overrideFolders = true;
devices = {
"fischer" = { id = "MHV2PGN-GAHQMV5-ITXGNQS-IRJC3XL-OQIHVUX-JVKBZ6Z-33XHE7H-NC6H5AE"; };
};
folders = {
"dev" = {
# Name of folder in Syncthing, also the folder ID
path = "/home/julien/dev"; # Which folder to add to Syncthing
devices = [ "fischer" ]; # Which devices to share the folder with
settings = {
devices = {
"fischer" = { id = "MHV2PGN-GAHQMV5-ITXGNQS-IRJC3XL-OQIHVUX-JVKBZ6Z-33XHE7H-NC6H5AE"; };
};
folders = {
"dev" = {
# Name of folder in Syncthing, also the folder ID
path = "/home/julien/dev"; # Which folder to add to Syncthing
devices = [ "fischer" ]; # Which devices to share the folder with
};
};
};
};

View file

@ -22,7 +22,7 @@ in
createHome = true;
home = "/home/drone";
extraGroups = [ drone config.users.groups.keys.name ];
passwordFile = config.sops.secrets.user-julien-password.path;
hashedPasswordFile = config.sops.secrets.user-julien-password.path;
};
users.groups.drone = { };
luj.hmgr.drone.luj.programs.git.enable = true;

View file

@ -12,7 +12,7 @@
home = "/root";
shell = lib.mkForce config.users.defaultUserShell;
group = "root";
passwordFile = config.sops.secrets.user-root-password.path;
hashedPasswordFile = config.sops.secrets.user-root-password.path;
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGa+7n7kNzb86pTqaMn554KiPrkHRGeTJ0asY1NjSbpr julien@tower" ];
};

View file

@ -7,7 +7,7 @@
home = "/home/julien";
extraGroups = [ "wheel" config.users.groups.keys.name "filerun" "networkmanager" "davfs2" "adbusers" "audio" ];
shell = pkgs.zsh;
passwordFile = config.sops.secrets.user-julien-password.path;
hashedPasswordFile = config.sops.secrets.user-julien-password.path;
};