Fix rofi config + go path

This commit is contained in:
Filippo Berto 2022-06-29 13:16:42 +02:00
parent cdca146eff
commit 722fdff192
2 changed files with 8 additions and 17 deletions

View file

@ -1,6 +1,7 @@
{ pkgs, ... }: {
programs.go = {
enable = true;
goPath = ".go";
};
home.packages = with pkgs; [

View file

@ -1,25 +1,15 @@
{ pkgs, ... }: {
programs.rofi = {
enable = true;
# location = "center";
# font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
# extraConfig = {
# modi = "drun,emoji,run,ssh,window";
# };
# theme = ../configs/rofi/nord.rasi;
location = "center";
font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
extraConfig = {
modi = "drun,run,ssh,window";
};
terminal = "kitty";
theme = "onedark";
};
xdg.configFile."rofi/config.rasi".text = ''
configuration {
font: "${pkgs.rice.font.monospace.name} 12";
location: 0;
yoffset: 0;
xoffset: 0;
modi: "drun,run,ssh,window";
}
@theme "onedark"
'';
xdg.configFile."rofi/nord.rasi".source = ../../configs/rofi/nord.rasi;
xdg.configFile."rofi/onedark.rasi".source = ../../configs/rofi/onedark.rasi;
}