Move rofi scripts to bin/rofi
This commit is contained in:
parent
9d137dc744
commit
2fc26aef2c
5
Makefile
5
Makefile
|
@ -1,7 +1,10 @@
|
||||||
NIXOS_VERSION := 19.09
|
NIXOS_VERSION := 19.09
|
||||||
NIXOS_PREFIX := $(PREFIX)/etc/nixos
|
NIXOS_PREFIX := $(PREFIX)/etc/nixos
|
||||||
COMMAND := test
|
COMMAND := test
|
||||||
FLAGS := -I "config=$$(pwd)/config" -I "modules=$$(pwd)/modules" $(FLAGS)
|
FLAGS := -I "config=$$(pwd)/config" \
|
||||||
|
-I "modules=$$(pwd)/modules" \
|
||||||
|
-I "bin=$$(pwd)/bin" \
|
||||||
|
$(FLAGS)
|
||||||
|
|
||||||
# The real Labowski
|
# The real Labowski
|
||||||
all: channels
|
all: channels
|
||||||
|
|
|
@ -14,6 +14,7 @@ device:
|
||||||
nix.autoOptimiseStore = true;
|
nix.autoOptimiseStore = true;
|
||||||
nix.nixPath = options.nix.nixPath.default ++ [
|
nix.nixPath = options.nix.nixPath.default ++ [
|
||||||
# So we can use absolute import paths
|
# So we can use absolute import paths
|
||||||
|
"bin=/etc/dotfiles/bin"
|
||||||
"config=/etc/dotfiles/config"
|
"config=/etc/dotfiles/config"
|
||||||
"modules=/etc/dotfiles/modules"
|
"modules=/etc/dotfiles/modules"
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
my = {
|
my = {
|
||||||
env.PATH = [ <config/rofi/bin> ];
|
env.PATH = [ <bin/rofi> ];
|
||||||
# link recursively so other modules can link files in its folder
|
# link recursively so other modules can link files in its folder
|
||||||
home.xdg.configFile."rofi" = {
|
home.xdg.configFile."rofi" = {
|
||||||
source = <config/rofi>;
|
source = <config/rofi>;
|
||||||
|
|
Loading…
Reference in a new issue