nix/os/devices/CFB4ED74: update config
This commit is contained in:
parent
4e01df65e0
commit
e28460c394
2 changed files with 17 additions and 2 deletions
|
@ -3,5 +3,5 @@
|
|||
}:
|
||||
|
||||
{
|
||||
home-manager.users.steveej = import ../../../home-manager/configuration/graphical-fullblown.nix;
|
||||
home-manager.users.steveej = import ../../../home-manager/configuration/text-minimal.txt;
|
||||
}
|
||||
|
|
|
@ -1,8 +1,12 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }:
|
||||
|
||||
{
|
||||
let
|
||||
keys = import ../../../variables/keys.nix;
|
||||
|
||||
in {
|
||||
# TASK: new device
|
||||
networking.hostName = "CFB4ED74"; # Define your hostname.
|
||||
|
||||
|
@ -18,4 +22,15 @@
|
|||
|
||||
services.spice-vdagentd.enable = true;
|
||||
services.qemuGuest.enable = true;
|
||||
|
||||
networking.useDHCP = true;
|
||||
boot.initrd.network = {
|
||||
enable = true;
|
||||
udhcpc.extraArgs = [ "-x hostname:${config.networking.hostName}" ];
|
||||
|
||||
ssh = {
|
||||
enable = true;
|
||||
authorizedKeys = keys.users.steveej.openssh;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue