extract syncthing and bmenu module
This commit is contained in:
parent
a7b446eec0
commit
1508d388c7
21
user/bmenu.nix
Normal file
21
user/bmenu.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
let inherit (import ./variables.nix) key theme color accent font;
|
||||
in {
|
||||
# My bemenu wrapper
|
||||
xdg.configFile = {
|
||||
"bmenu.conf".text = ''
|
||||
set fn "${font.mono} ${toString font.size.small}"
|
||||
|
||||
set tb "${color.bg}${theme.opacityHex}"
|
||||
set tf "${accent.color}"
|
||||
|
||||
set fb "${color.bg}${theme.opacityHex}"
|
||||
set ff "${color.txt}"
|
||||
|
||||
set nb "${color.bg}${theme.opacityHex}"
|
||||
set nf "${color.txt}"
|
||||
set hb "${accent.color}"
|
||||
set hf "${accent.fg}"
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -20,6 +20,8 @@ in {
|
|||
./rnnoise.nix
|
||||
./mimeapps.nix
|
||||
./chat.nix
|
||||
./syncthing.nix
|
||||
./bmenu.nix
|
||||
inputs.hyprland.homeManagerModules.default
|
||||
];
|
||||
# Home Manager needs a bit of information about you and the
|
||||
|
@ -183,28 +185,6 @@ in {
|
|||
# # style.name = "gtk2";
|
||||
# };
|
||||
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
tray.enable = true;
|
||||
};
|
||||
# My bemenu wrapper
|
||||
xdg.configFile = {
|
||||
"bmenu.conf".text = ''
|
||||
set fn "${font.mono} ${toString font.size.small}"
|
||||
|
||||
set tb "${color.bg}${theme.opacityHex}"
|
||||
set tf "${accent.color}"
|
||||
|
||||
set fb "${color.bg}${theme.opacityHex}"
|
||||
set ff "${color.txt}"
|
||||
|
||||
set nb "${color.bg}${theme.opacityHex}"
|
||||
set nf "${color.txt}"
|
||||
set hb "${accent.color}"
|
||||
set hf "${accent.fg}"
|
||||
'';
|
||||
};
|
||||
|
||||
# This value determines the Home Manager release that your
|
||||
# configuration is compatible with. This helps avoid breakage
|
||||
# when a new Home Manager release introduces backwards
|
||||
|
|
8
user/syncthing.nix
Normal file
8
user/syncthing.nix
Normal file
|
@ -0,0 +1,8 @@
|
|||
{ config, pkgs, lib, inputs, ... }:
|
||||
let inherit (import ./variables.nix) key theme color accent font;
|
||||
in {
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
tray.enable = true;
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue