Move rofi scripts to bin/rofi

This commit is contained in:
Henrik Lissner 2020-02-01 21:05:55 -05:00
parent 9d137dc744
commit 2fc26aef2c
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
8 changed files with 6 additions and 2 deletions

View file

@ -1,7 +1,10 @@
NIXOS_VERSION := 19.09
NIXOS_PREFIX := $(PREFIX)/etc/nixos
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
all: channels

View file

@ -14,6 +14,7 @@ device:
nix.autoOptimiseStore = true;
nix.nixPath = options.nix.nixPath.default ++ [
# So we can use absolute import paths
"bin=/etc/dotfiles/bin"
"config=/etc/dotfiles/config"
"modules=/etc/dotfiles/modules"
];

View file

@ -2,7 +2,7 @@
{
my = {
env.PATH = [ <config/rofi/bin> ];
env.PATH = [ <bin/rofi> ];
# link recursively so other modules can link files in its folder
home.xdg.configFile."rofi" = {
source = <config/rofi>;