update nixpkgs, home-manager, remove root password, refactor, use tmpfs, c2: use disk labels
This commit is contained in:
parent
59a71b5cf2
commit
62d3765e58
8 changed files with 109 additions and 39 deletions
|
|
@ -1,8 +1,15 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
users.users.hd = {
|
||||
pkgs,
|
||||
lib,
|
||||
options,
|
||||
...
|
||||
}:
|
||||
{
|
||||
users.users."hd" = {
|
||||
description = "Henri";
|
||||
isNormalUser = true;
|
||||
createHome = true;
|
||||
home = "/home/hd";
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
|
|
@ -10,4 +17,7 @@
|
|||
shell = pkgs.fish;
|
||||
packages = [ ];
|
||||
};
|
||||
|
||||
home-manager.users."hd" = lib.mkAliasDefinitions options.home;
|
||||
users.users.root.hashedPassword = "!";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue