Replace relative paths with self
This commit is contained in:
parent
5e5e46922c
commit
105f88ff1e
4 changed files with 8 additions and 8 deletions
lib
|
@ -8,8 +8,8 @@
|
||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
desktop-config = import ./desktop.nix {inherit config inputs pkgs username;};
|
desktop-config = import ./desktop.nix {inherit config inputs pkgs username;};
|
||||||
shared-config = import ../../shared/home-manager.nix {inherit inputs pkgs self username;};
|
shared-config = import "${self}/lib/shared/home-manager.nix" {inherit inputs pkgs self username;};
|
||||||
shared-packages = import ../../shared/home-manager-packages.nix {inherit inputs pkgs;};
|
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" {inherit inputs pkgs;};
|
||||||
|
|
||||||
pkgs-2311 = inputs.nixpkgs-2311.legacyPackages.${pkgs.system};
|
pkgs-2311 = inputs.nixpkgs-2311.legacyPackages.${pkgs.system};
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
{
|
{self, ...}: {
|
||||||
home.sessionPath = ["$HOME/.config/bin"];
|
home.sessionPath = ["$HOME/.config/bin"];
|
||||||
|
|
||||||
xdg.configFile.bin = {
|
xdg.configFile.bin = {
|
||||||
source = ../../../bin;
|
source = "${self}/bin";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{self, ...}: {
|
||||||
xdg.configFile.phpactor = {
|
xdg.configFile.phpactor = {
|
||||||
source = ../../../config/phpactor;
|
source = "${self}/config/phpactor";
|
||||||
recursive = true;
|
recursive = true;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
}: let
|
}: let
|
||||||
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
pkgs = inputs.nixpkgs.legacyPackages.${system};
|
||||||
|
|
||||||
shared-config = import ../shared/home-manager.nix {inherit inputs pkgs self username;};
|
shared-config = import "${self}/lib/shared/home-manager.nix" {inherit inputs pkgs self username;};
|
||||||
shared-packages = import ../shared/home-manager-packages.nix {inherit inputs pkgs;};
|
shared-packages = import "${self}/lib/shared/home-manager-packages.nix" {inherit inputs pkgs;};
|
||||||
in
|
in
|
||||||
inputs.home-manager.lib.homeManagerConfiguration {
|
inputs.home-manager.lib.homeManagerConfiguration {
|
||||||
inherit pkgs;
|
inherit pkgs;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue