Replace hardcoded dir with hm paths
This commit is contained in:
parent
ef2b09fd48
commit
87550230d8
4 changed files with 28 additions and 23 deletions
|
|
@ -1,8 +1,8 @@
|
|||
{ pkgs, ... }:
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
let
|
||||
projectsConfig = import ../config/projects.nix;
|
||||
projectLauncher = "/Users/yanlin/.config/nix/scripts/project-launcher.sh";
|
||||
projectsConfig = import ../config/projects.nix { homeDirectory = config.home.homeDirectory; };
|
||||
projectLauncher = "${config.home.homeDirectory}/.config/nix/scripts/project-launcher.sh";
|
||||
in
|
||||
{
|
||||
programs.zsh = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue