Refactor configuration files to include 'inputs' parameter for improved modularity and consistency across hosts.
This commit is contained in:
parent
de5ad541b8
commit
be82c5c477
@ -70,7 +70,7 @@ in
|
||||
];
|
||||
openssh.authorizedKeys.keyFiles = inputs.self.lib.getSshKeys [
|
||||
"deacero"
|
||||
"workstation"
|
||||
"workstation"
|
||||
"server"
|
||||
"miniserver"
|
||||
"galaxy"
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{ config, ... }:
|
||||
{ config, inputs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
|
||||
@ -2,6 +2,7 @@
|
||||
pkgs,
|
||||
config,
|
||||
lib,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
|
||||
@ -1,6 +1,7 @@
|
||||
{
|
||||
pkgs,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
|
||||
@ -1,4 +1,9 @@
|
||||
{ lib, config, inputs, ... }:
|
||||
{
|
||||
lib,
|
||||
config,
|
||||
inputs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
options.my.users.nixremote = {
|
||||
enable = lib.mkEnableOption "nixremote user for distributed builds";
|
||||
@ -6,7 +11,7 @@
|
||||
type = lib.types.listOf lib.types.path;
|
||||
default = inputs.self.lib.getSshKeys [
|
||||
"nixworkstation"
|
||||
"nixserver"
|
||||
"nixserver"
|
||||
"nixminiserver"
|
||||
];
|
||||
description = "List of SSH public key files to authorize for nixremote user";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user