format the repo files
This commit is contained in:
@@ -2,10 +2,16 @@
|
||||
# Server configuration. Imports configuration_common.nix for shared settings.
|
||||
# Service modules are imported per-host.
|
||||
#
|
||||
|
||||
{ config, lib, pkgs, inputs, user, location, agenix, ... }:
|
||||
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
inputs,
|
||||
user,
|
||||
location,
|
||||
agenix,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
./configuration_common.nix
|
||||
];
|
||||
@@ -13,7 +19,7 @@
|
||||
users.users.${user} = {
|
||||
isNormalUser = true;
|
||||
uid = 3000;
|
||||
extraGroups = [ "wheel" "networkmanager" "kvm" "libvirtd" ];
|
||||
extraGroups = ["wheel" "networkmanager" "kvm" "libvirtd"];
|
||||
};
|
||||
|
||||
security.sudo.wheelNeedsPassword = true;
|
||||
@@ -25,7 +31,7 @@
|
||||
];
|
||||
|
||||
services.openssh = {
|
||||
ports = [ 2220 ];
|
||||
ports = [2220];
|
||||
openFirewall = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user