dregil: Import path instead of default.nix
This commit is contained in:
parent
3dec08779d
commit
7fc99ce334
4 changed files with 9 additions and 8 deletions
|
|
@ -3,8 +3,9 @@
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./cli.nix
|
./cli.nix
|
||||||
# ./programs/xmonad/default.nix
|
./programs/xmonad
|
||||||
./programs/rofi/default.nix
|
./programs/rofi
|
||||||
|
# ./programs/polybar
|
||||||
];
|
];
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.rofi = {
|
config.programs.rofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
plugins = with pkgs; [ rofi-calc rofi-emoji ];
|
plugins = with pkgs; [ rofi-calc rofi-emoji ];
|
||||||
terminal = "${pkgs.alacritty}/bin/alacritty";
|
terminal = "${pkgs.alacritty}/bin/alacritty";
|
||||||
|
|
@ -12,5 +12,5 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
# let rofi insert emojis directly
|
# let rofi insert emojis directly
|
||||||
home.packages = [ pkgs.xdotool ];
|
config.home.packages = [ pkgs.xdotool ];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,9 @@ let
|
||||||
pulseSupport = true;
|
pulseSupport = true;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
home.packages = with pkgs; [ font-awesome material-design-icons ];
|
config.home.packages = with pkgs; [ font-awesome material-design-icons ];
|
||||||
|
|
||||||
services.polybar = {
|
config.services.polybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = mypolybar;
|
package = mypolybar;
|
||||||
config = ./config.ini;
|
config = ./config.ini;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, lib, pkgs, ... }:
|
{ config, lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
services = {
|
config.services = {
|
||||||
upower.enable = true;
|
upower.enable = true;
|
||||||
|
|
||||||
xserver = {
|
xserver = {
|
||||||
|
|
@ -14,5 +14,5 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.upower.enable = true;
|
config.systemd.services.upower.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue