mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-26 13:50:51 +01:00
silence some eval warning
This commit is contained in:
parent
9dd214a956
commit
88005ad291
7 changed files with 24 additions and 20 deletions
|
@ -7,7 +7,7 @@ with lib;
|
|||
options.luj.programs.waybar = {
|
||||
enable = mkEnableOption "Enable waybar";
|
||||
interfaceName = mkOption {
|
||||
type = lib.types.string;
|
||||
type = lib.types.str;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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" ];
|
||||
};
|
||||
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue