about summary refs log tree commit diff
path: root/lib/mk_home.nix
diff options
context:
space:
mode:
authorsefidel <contact@sefidel.net>2022-01-25 22:40:31 +0900
committersefidel <contact@sefidel.net>2022-01-25 22:40:31 +0900
commitf1b9e4ff65c952d91134f626bc8f94a786fef977 (patch)
tree7ed6e14b38ba4cddc6b54540751c752e22493863 /lib/mk_home.nix
parent9400d1c904fadb72f8044209cab8c9b6fe7004bf (diff)
downloadnixrc-f1b9e4ff65c952d91134f626bc8f94a786fef977.tar.gz
nixrc-f1b9e4ff65c952d91134f626bc8f94a786fef977.zip
lib/mk_*: set default values for system
Diffstat (limited to 'lib/mk_home.nix')
-rw-r--r--lib/mk_home.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mk_home.nix b/lib/mk_home.nix
index a83194a..ba1a657 100644
--- a/lib/mk_home.nix
+++ b/lib/mk_home.nix
@@ -1,6 +1,6 @@
 { self, home-manager, ... } @ inputs:
 
-{ username, hostname, system, pkgs, version, extraModules }:
+{ username, hostname, system ? "x86_64-linux", pkgs, version, extraModules }:
 let
   entrypoint = "${self}/home/${hostname}/${username}.nix";
 in