Compare commits

..

No commits in common. "b17bc19cfd216cc3683c11236b46d6c1a29dc686" and "bb756b32f70d8047fcd71f2ca206faad81212248" have entirely different histories.

3 changed files with 2 additions and 14 deletions

View File

@ -14,7 +14,7 @@ in {
};
to = {
type = "git";
url = "file://${config.nixfiles.path}";
url = "file://${config.home.homeDirectory}/nixfiles";
};
};
};

View File

@ -61,12 +61,5 @@ in
default = (lib.hasAttrByPath [ "nixfiles" "meta" "wayland" ] osConfig) && osConfig.nixfiles.meta.wayland;
example = true;
};
path = lib.mkOption {
description = "The absolute path of the nixfiles flake";
type = lib.types.str;
default = "${config.home.homeDirectory}/nixfiles";
defaultText = "\${config.home.homeDirectory}/nixfiles";
example = "/etc/nixos";
};
};
}

View File

@ -298,12 +298,7 @@ in
"$mod, mouse_up, workspace, e-1"
# show this file (help)
("$mod, slash, exec, ${terminal} -e ${pkgs.neovim}/bin/nvim '+set nomodifiable' '+noremap q :q<CR>' "
+ lib.escapeShellArg (args.vars.self.outPath + "/home/sessions/hyprland/default.nix"))
# edit this file
("$mod SHIFT, slash, exec, ${terminal} -e ${pkgs.neovim}/bin/nvim "
+ lib.escapeShellArg (config.nixfiles.path + "/home/sessions/hyprland/default.nix"))
("$mod, slash, exec, ${terminal} -e ${pkgs.neovim}/bin/nvim '+set nomodifiable' '+noremap q :q<CR>' " + args.vars.self.outPath + "/home/hyprland.nix")
];
# repeat, ignore mods