Misc: Add nixfmt-tree and run nix fmt
This commit is contained in:
@@ -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
|
||||
];
|
||||
|
||||
@@ -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}";
|
||||
|
||||
Reference in New Issue
Block a user