Home : Remove home dir.

This commit is contained in:
Dmitry Voronin 2024-04-14 23:37:48 +03:00 committed by Dmitry Voronin
parent 0451c75fa1
commit 66882a8820
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k
17 changed files with 16 additions and 30 deletions

View file

@ -1,6 +1,9 @@
{ pkgs, lib, ... }: { { const, util, style, pkgs, lib, setting, key, secret, ... } @args: {
imports = [ imports = [
./home/Dasha.nix (import ./common (args // {
username = "dasha";
homeDir = "/home/dasha";
}))
]; ];
users.users.dasha = { users.users.dasha = {
createHome = true; createHome = true;

View file

@ -1,7 +1,11 @@
{ secret, ... }: { { const, util, style, pkgs, setting, key, secret, ... } @args: {
imports = [ imports = [
./home/Root.nix (import ./common (args // {
username = "root";
homeDir = "/root";
}))
]; ];
users.users.root.hashedPassword = secret.hashedPassword; users.users.root.hashedPassword = secret.hashedPassword;
security.sudo = { security.sudo = {
enable = false; enable = false;

View file

@ -1,6 +1,9 @@
{ pkgs, lib, secret, ... }: { { const, util, style, pkgs, lib, setting, key, secret, ... } @args: {
imports = [ imports = [
./home/Voronind.nix (import ./common (args // {
username = "voronind";
homeDir = "/home/voronind";
}))
]; ];
users.users.voronind = { users.users.voronind = {

View file

@ -1,8 +0,0 @@
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
imports = [
(import ./common (args // {
username = "dasha";
homeDir = "/home/dasha";
}))
];
}

View file

@ -1,8 +0,0 @@
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
imports = [
(import ./common (args // {
username = "root";
homeDir = "/root";
}))
];
}

View file

@ -1,8 +0,0 @@
{ const, util, style, pkgs, setting, key, secret, ... } @args: {
imports = [
(import ./common (args // {
username = "voronind";
homeDir = "/home/voronind";
}))
];
}