Skip to content

Commit

Permalink
add openssh key
Browse files Browse the repository at this point in the history
  • Loading branch information
ocfox committed Apr 25, 2023
1 parent 8fda531 commit 1353a30
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 3 additions & 1 deletion darwin/silverfox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,9 @@

environment.shells = [ pkgs.fish ];

users.users.ocfox.shell = pkgs.fish;
users.users.ocfox = {
shell = pkgs.fish;
};

fonts.fontDir.enable = true;

Expand Down
2 changes: 1 addition & 1 deletion home-darwin/programs/fish.nix
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
functions = {
rebuild = ''
darwin-rebuild switch --use-remote-sudo --flake $HOME/nixos#silverfox
darwin-rebuild switch --flake $HOME/nixos#silverfox
'';
};
}
3 changes: 1 addition & 2 deletions home-desktop/programs/waybar/settings.nix
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ in
[
{
"layer" = "top";
# "output" = "DP-1";
"position" = "top";
"modules-left" = [
"sway/workspaces"
"temperature"
"hyprland/window"
"sway/window"
"custom/music"
];
"modules-right" = [
Expand Down
3 changes: 3 additions & 0 deletions hosts/whitefox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@
isNormalUser = true;
shell = pkgs.fish;
hashedPassword = "$6$jVI2tdENaEqUyZGh$rni.joO5US9t9RYM9wlIvia4L1YOObs44Kt3gBcooBJTeSFGyEorciM2CrKMEnzbojpi1KgPPe256i5Q46N1d0";
openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHysCjoqwXAumW+cUCcFZDpC9yLx3Jh7x5du7r21fPE4"
];
extraGroups = [
"wheel"
"docker"
Expand Down

0 comments on commit 1353a30

Please sign in to comment.