fix(shell)!: accept a hostname
parameter
Pass along device `hostname` into `home-manager` (and more) configs Used for the `rebuild` command since `nix-on-droid` uses the `default` system instead of the `$(hostname)` one (because that requires root to change on-device)
This commit is contained in:
parent
bc81e59950
commit
20e7547b0c
4 changed files with 45 additions and 120 deletions
|
@ -1,4 +1,4 @@
|
|||
{ inputs, outputs, lib, pkgs, config, ... }:
|
||||
{ inputs, outputs, hostname, lib, pkgs, config, ... }:
|
||||
|
||||
{
|
||||
# Home Manager needs a bit of information about you and the
|
||||
|
@ -102,6 +102,7 @@
|
|||
reo101.shell = {
|
||||
enable = true;
|
||||
username = "reo101";
|
||||
inherit hostname;
|
||||
direnv = true;
|
||||
zoxide = true;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue