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