hosts/youko: add youko ssh keys, set user password
This commit is contained in:
parent
e2014034bb
commit
aaa0b853f7
4 changed files with 30 additions and 21 deletions
|
@ -1,26 +1,22 @@
|
|||
{
|
||||
configurations.nixos.youko = {
|
||||
imports = [
|
||||
./disks.nix
|
||||
./hardware.nix
|
||||
];
|
||||
configurations.nixos.youko =
|
||||
{ config, username, ... }:
|
||||
{
|
||||
imports = [
|
||||
./disks.nix
|
||||
./hardware.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
nixpkgs.hostPlatform = "x86_64-linux";
|
||||
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
settei.user.config =
|
||||
{ lib, ... }:
|
||||
{
|
||||
programs.git.signing = lib.mkForce {
|
||||
key = null;
|
||||
signByDefault = false;
|
||||
};
|
||||
boot = {
|
||||
loader.systemd-boot.enable = true;
|
||||
loader.efi.canTouchEfiVariables = true;
|
||||
};
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
age.secrets.niko-pass.file = ../../secrets/youko-niko-pass.age;
|
||||
users.users.${username}.hashedPasswordFile = config.age.secrets.niko-pass.path;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue