From 6cfdb5ec0b713050736403eda40eaef7de3af719 Mon Sep 17 00:00:00 2001 From: Anthony Rodriguez Date: Tue, 1 Oct 2024 18:14:49 +0200 Subject: [PATCH] home/profiles: update to use absolute paths with self --- home/profiles/solaire/default.nix | 19 +++++++++++++------ home/profiles/vamos/default.nix | 18 ++++++++++-------- 2 files changed, 23 insertions(+), 14 deletions(-) diff --git a/home/profiles/solaire/default.nix b/home/profiles/solaire/default.nix index 0ff3a67..18e4ce2 100644 --- a/home/profiles/solaire/default.nix +++ b/home/profiles/solaire/default.nix @@ -1,13 +1,20 @@ -{config, ...}: { +{ + self, + inputs, + ... +}: { imports = [ - ../../programs/editors/neovim.nix + "${self}/home/services/udiskie.nix" - ../../programs - ../../programs/games + "${self}/home/programs" + "${self}/home/programs/plasma" + "${self}/home/programs/games" - ../../services/udiskie.nix + "${self}/home/terminal/emulators/konsole.nix" - ../../terminal/emulators/konsole.nix + "${self}/home/programs/editors/neovim.nix" + + inputs.plasma-manager.homeManagerModules.plasma-manager ]; config.theme.wallpaper = ../../../wallpapers/lucy-edgerunners-wallpaper.jpg; } diff --git a/home/profiles/vamos/default.nix b/home/profiles/vamos/default.nix index f190c92..95bb3a1 100644 --- a/home/profiles/vamos/default.nix +++ b/home/profiles/vamos/default.nix @@ -1,15 +1,17 @@ -{inputs, ...}: { +{ + self, + inputs, + ... +}: { imports = [ - ../../programs/editors/neovim.nix + "${self}/home/services/udiskie.nix" - ../../programs - ../../programs/plasma + "${self}/home/programs" + "${self}/home/programs/plasma" - ../../services/udiskie.nix + "${self}/home/terminal/emulators/konsole.nix" - ../../terminal/emulators/konsole.nix - # ../../terminal/emulators/wezterm.nix - # ../../terminal/emulators/foot.nix + "${self}/home/programs/editors/neovim.nix" inputs.plasma-manager.homeManagerModules.plasma-manager ];