Change hostname to chromatic-aberration, enable SSH
Since it's a Chromebox and that name sounds vaguely cool I guess
This commit is contained in:
parent
7d6204cad9
commit
e187328689
2 changed files with 12 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
|||
};
|
||||
|
||||
networking = {
|
||||
hostName = "nixos";
|
||||
hostName = "chromatic-aberration";
|
||||
networkmanager.enable = true;
|
||||
};
|
||||
|
||||
|
@ -42,12 +42,22 @@
|
|||
enable = true;
|
||||
wayland.enable = true;
|
||||
};
|
||||
openssh = {
|
||||
enable = true;
|
||||
settings = {
|
||||
PasswordAuthentication = false;
|
||||
PermitRootLogin = "no";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.users.sipb = {
|
||||
isNormalUser = true;
|
||||
extraGroups = [ "wheel" ];
|
||||
shell = pkgs.fish;
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPDLPakDnAelqFTUudQB8X0T7yc/8ekV3jGqpeJb062l anthonywang"
|
||||
];
|
||||
};
|
||||
|
||||
programs = {
|
||||
|
|
|
@ -13,8 +13,7 @@
|
|||
pkgs = import nixpkgs { inherit system; };
|
||||
in
|
||||
{
|
||||
# NOTE: 'nixos' is the default hostname
|
||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||
nixosConfigurations.chromatic-aberration = nixpkgs.lib.nixosSystem {
|
||||
modules = [ ./configuration.nix ];
|
||||
};
|
||||
formatter.${system} = pkgs.nixfmt-tree;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue