Compare commits
No commits in common. "b17bc19cfd216cc3683c11236b46d6c1a29dc686" and "bb756b32f70d8047fcd71f2ca206faad81212248" have entirely different histories.
b17bc19cfd
...
bb756b32f7
@ -14,7 +14,7 @@ in {
|
||||
};
|
||||
to = {
|
||||
type = "git";
|
||||
url = "file://${config.nixfiles.path}";
|
||||
url = "file://${config.home.homeDirectory}/nixfiles";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
@ -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";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user