home/profiles: update to use absolute paths with self

This commit is contained in:
Anthony Rodriguez 2024-10-01 18:14:49 +02:00
parent c56f9812ab
commit 6cfdb5ec0b
Signed by: nezia
GPG key ID: EE3BE97C040A86CE
2 changed files with 23 additions and 14 deletions

View file

@ -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;
}

View file

@ -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
];