Clear (config): update flake & make server profile private.
This commit is contained in:
parent
c4e9be9523
commit
5c59c0934d
7 changed files with 74 additions and 93 deletions
|
|
@ -1,25 +0,0 @@
|
|||
{
|
||||
hostName,
|
||||
userName,
|
||||
systemArch,
|
||||
deviceName,
|
||||
}:
|
||||
let
|
||||
homeDir = "/home/${userName}";
|
||||
in
|
||||
{
|
||||
user = {
|
||||
name = userName;
|
||||
email = "...";
|
||||
};
|
||||
|
||||
paths = {
|
||||
inherit homeDir;
|
||||
};
|
||||
|
||||
device = {
|
||||
name = deviceName;
|
||||
hostName = hostName;
|
||||
systemArch = systemArch;
|
||||
};
|
||||
}
|
||||
|
|
@ -1,19 +0,0 @@
|
|||
{ userData, customFunctions, ... }:
|
||||
let
|
||||
userName = userData.user.name;
|
||||
homeDirectory = userData.paths.homeDir;
|
||||
in
|
||||
{
|
||||
imports = customFunctions.scan {
|
||||
path = ./.;
|
||||
exclude = [
|
||||
./default.nix
|
||||
];
|
||||
};
|
||||
|
||||
home = {
|
||||
inherit homeDirectory;
|
||||
username = userName;
|
||||
stateVersion = "25.05";
|
||||
};
|
||||
}
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
{ userData, customFunctions, ... }:
|
||||
let
|
||||
name = userData.user.name;
|
||||
home = userData.paths.homeDir;
|
||||
in
|
||||
{
|
||||
imports = customFunctions.scan {
|
||||
path = ./.;
|
||||
exclude = [ ./default.nix ];
|
||||
};
|
||||
|
||||
host = {
|
||||
version = "25.05";
|
||||
};
|
||||
|
||||
users.users.${name} = {
|
||||
inherit name home;
|
||||
isNormalUser = true;
|
||||
description = name;
|
||||
createHome = true;
|
||||
homeMode = "700";
|
||||
extraGroups = [
|
||||
# "networkmanager"
|
||||
# "wheel"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -1,5 +0,0 @@
|
|||
{ lib }:
|
||||
{
|
||||
allowUnfree = false;
|
||||
allowBroken = false;
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
pkgs: { }
|
||||
Reference in a new issue