aboutsummaryrefslogtreecommitdiffhomepage
path: root/home-manager
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2023-09-04 09:26:36 +0900
committernsfisis <nsfisis@gmail.com>2023-09-04 09:26:36 +0900
commitdaefded4d41bf9c09c6472d9126c9d369927076e (patch)
tree69ca364084e4cf9916781b27b24784829dcd19cb /home-manager
parent15b9254b3eabac6b6e6a4d3024c6cb39ee0ec3f5 (diff)
downloaddotfiles-daefded4d41bf9c09c6472d9126c9d369927076e.tar.gz
dotfiles-daefded4d41bf9c09c6472d9126c9d369927076e.tar.zst
dotfiles-daefded4d41bf9c09c6472d9126c9d369927076e.zip
home-manager: prepare setup on different host
Diffstat (limited to 'home-manager')
-rw-r--r--home-manager/home.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/home-manager/home.nix b/home-manager/home.nix
index 7185d16..e3156a8 100644
--- a/home-manager/home.nix
+++ b/home-manager/home.nix
@@ -1,11 +1,13 @@
{ pkgs, specialArgs, ... }:
let
+ username = specialArgs.env.username;
+ homeDirectory = specialArgs.env.homeDirectory;
clipboardCopyCommand = specialArgs.env.gui.clipboard.copyCommand;
requiresWlClipboard = clipboardCopyCommand == "wl-copy";
in
{
- home.username = "ken";
- home.homeDirectory = "/home/ken";
+ home.username = username;
+ home.homeDirectory = homeDirectory;
home.stateVersion = "23.11";