Fix rofi config + go path
This commit is contained in:
parent
cdca146eff
commit
722fdff192
2 changed files with 8 additions and 17 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
programs.go = {
|
programs.go = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
goPath = ".go";
|
||||||
};
|
};
|
||||||
|
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
|
|
|
||||||
|
|
@ -1,25 +1,15 @@
|
||||||
{ pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
programs.rofi = {
|
programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
# location = "center";
|
location = "center";
|
||||||
# font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
|
font = "${pkgs.rice.font.monospace.name} ${toString pkgs.rice.font.monospace.size}";
|
||||||
# extraConfig = {
|
extraConfig = {
|
||||||
# modi = "drun,emoji,run,ssh,window";
|
modi = "drun,run,ssh,window";
|
||||||
# };
|
};
|
||||||
# theme = ../configs/rofi/nord.rasi;
|
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/nord.rasi".source = ../../configs/rofi/nord.rasi;
|
||||||
xdg.configFile."rofi/onedark.rasi".source = ../../configs/rofi/onedark.rasi;
|
xdg.configFile."rofi/onedark.rasi".source = ../../configs/rofi/onedark.rasi;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue