Add default user login
This commit is contained in:
parent
29dd8a6349
commit
d7081e45fb
1 changed files with 6 additions and 1 deletions
|
@ -5,7 +5,9 @@
|
||||||
config,
|
config,
|
||||||
pkgs,
|
pkgs,
|
||||||
...
|
...
|
||||||
}: {
|
}: let
|
||||||
|
vars = import ../../vars.nix;
|
||||||
|
in {
|
||||||
imports = [
|
imports = [
|
||||||
inputs.hardware.nixosModules.common-pc-ssd
|
inputs.hardware.nixosModules.common-pc-ssd
|
||||||
inputs.disko.nixosModules.default
|
inputs.disko.nixosModules.default
|
||||||
|
@ -20,6 +22,9 @@
|
||||||
../common/optional/docker.nix
|
../common/optional/docker.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
users.mutableUsers = true;
|
||||||
|
users.users.${vars.user}.password = "changeme";
|
||||||
|
|
||||||
nix.extraOptions = ''
|
nix.extraOptions = ''
|
||||||
download-speed = 4000
|
download-speed = 4000
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in a new issue