Misc: Add nixfmt-tree and run nix fmt

This commit is contained in:
2026-07-30 15:03:14 +02:00
parent 3831cc1540
commit b0a83e2ad5
29 changed files with 200 additions and 132 deletions
+9 -8
View File
@@ -1,13 +1,14 @@
{
config.flake.factory.mount-cifs =
{ host
, resource
, destination
, credentials_path
, UID
, GID
,
}: { pkgs, ... }: {
{
host,
resource,
destination,
credentials_path,
UID,
GID,
}:
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
cifs-utils
];
+6 -4
View File
@@ -1,10 +1,12 @@
{ self, ... }: {
config.flake.factory.user = username: isAdmin: {
nixos."${username}" =
{ lib
, pkgs
, ...
}: {
{
lib,
pkgs,
...
}:
{
users.users."${username}" = {
isNormalUser = true;
home = "/home/${username}";