diff options
Diffstat (limited to 'hosts/ahmed')
-rw-r--r-- | hosts/ahmed/configuration.nix | 9 | ||||
-rw-r--r-- | hosts/ahmed/ssh.nix | 4 |
2 files changed, 2 insertions, 11 deletions
diff --git a/hosts/ahmed/configuration.nix b/hosts/ahmed/configuration.nix index 95561bd..2dbf4e1 100644 --- a/hosts/ahmed/configuration.nix +++ b/hosts/ahmed/configuration.nix @@ -15,14 +15,7 @@ isNormalUser = true; hashedPassword = "$y$j9T$kNJ5L50Si0sAhdrHyO19I1$YcwXZ46dI.ApLMgZSj7qImq9FrSL0CEUeoJUS8P1103"; extraGroups = [ "wheel" ]; - shell = pkgs.zsh; }; - # Following are recommended when changing the default shell. - # https://nixos.wiki/wiki/Command_Shell#Changing_default_shelltrue; - programs.zsh.enable = true; - environment.shells = [ pkgs.zsh ]; - - my.use-cases = [ "development" "sysadmin" ]; # Use the systemd-boot EFI boot loader. boot.loader.systemd-boot.enable = true; @@ -57,8 +50,6 @@ networking.wireless.enable = true; networking.wireless.networks."Rumpenettet_Guest".psk = "Rumpenerglad"; # NOCOMMIT - nix.settings.experimental-features = [ "nix-command" ]; - # Set up Minecraft server. my.services.on-demand-minecraft = { enable = true; diff --git a/hosts/ahmed/ssh.nix b/hosts/ahmed/ssh.nix index 9e34d99..f737437 100644 --- a/hosts/ahmed/ssh.nix +++ b/hosts/ahmed/ssh.nix @@ -1,6 +1,6 @@ # This file configures openSSH on this host. -{ config, pkgs, lib, misc, ... }: +{ lib, metadata, ... }: { # Who is allowed/expected to connect to this machine? @@ -13,7 +13,7 @@ users.users = lib.genAttrs ["root" "linus"] (_: { openssh.authorizedKeys.keys = [ - misc.metadata.hosts.muhammed.sshPubKey + metadata.hosts.muhammed.sshPubKey ]; }); } |