mirror of
https://github.com/gburd/nix-config.git
synced 2024-07-06 17:57:20 +00:00
fixes
This commit is contained in:
parent
917c298e5c
commit
f1f46c9865
|
@ -1,7 +1,7 @@
|
|||
{ config, pkgs, username, ... }:
|
||||
{ config, pkgs, username, desktop, ... }:
|
||||
{
|
||||
imports = [
|
||||
../services/keybase.nix
|
||||
../_mixins/services/keybase.nix
|
||||
|
||||
# TODO remove/migrate away from user mixins
|
||||
./_mixins
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ config, desktop, hostname, lib, pkgs, ... }:
|
||||
{ config, desktop, hostname, inputs, lib, pkgs, ... }:
|
||||
let
|
||||
ifTheyExist = groups: builtins.filter (group: builtins.hasAttr group config.users.groups) groups;
|
||||
in
|
||||
|
|
|
@ -64,8 +64,8 @@ let
|
|||
sudo nixos-install --no-root-password --flake ".#$TARGET_HOST"
|
||||
|
||||
# Rsync nix-config to the target install and set the remote origin to SSH.
|
||||
rsync -a --delete "$HOME/ws/" "/mnt/home/$TARGET_USER/Zero/"
|
||||
pushd "/mnt/home/$TARGET_USER/Zero/nix-config"
|
||||
rsync -a --delete "$HOME/ws/" "/mnt/home/$TARGET_USER/gburd/"
|
||||
pushd "/mnt/home/$TARGET_USER/gburd/nix-config"
|
||||
git remote set-url origin git@github.com:gburd/nix-config.git
|
||||
popd
|
||||
|
||||
|
|
Loading…
Reference in a new issue