formatting

This commit is contained in:
Moritz Böhme 2021-10-06 15:35:31 +02:00
parent 407bf46d5d
commit c12eaad5f0
6 changed files with 17 additions and 44 deletions

View file

@ -67,7 +67,4 @@ let
};
};
};
in
{
home-manager.users.moritz = { ... }: (base);
}
in { home-manager.users.moritz = { ... }: (base); }

View file

@ -20,7 +20,4 @@ let
};
};
};
in
{
home-manager.users.moritz = { ... }: (base);
}
in { home-manager.users.moritz = { ... }: (base); }

View file

@ -4,19 +4,15 @@ let
base = {
services.polybar = {
enable = true;
package = pkgs.polybar.override {
pulseSupport = true;
};
script = ''for m in $(polybar --list-monitors | ${pkgs.coreutils}/bin/cut -d":" -f1); do
package = pkgs.polybar.override { pulseSupport = true; };
script = ''
for m in $(polybar --list-monitors | ${pkgs.coreutils}/bin/cut -d":" -f1); do
MONITOR=$m polybar --reload bottom &
done
'';
config = ./config.ini;
extraConfig = builtins.readFile ./modules.ini +
builtins.readFile ./colors.ini;
extraConfig = builtins.readFile ./modules.ini
+ builtins.readFile ./colors.ini;
};
};
in
{
home-manager.users.moritz = { ... }: (base);
}
in { home-manager.users.moritz = { ... }: (base); }

View file

@ -1,17 +1,9 @@
{ config, lib, pkgs, ... }:
{
imports = [
./dunst
./diskstation
./emacs
./agenix.nix
./picom.nix
];
imports = [ ./dunst ./diskstation ./emacs ./agenix.nix ./picom.nix ];
home-manager.users.moritz.services = {
kdeconnect.enable = true;
};
home-manager.users.moritz.services = { kdeconnect.enable = true; };
services = {
printing.enable = true;

View file

@ -4,13 +4,8 @@ let
base = {
xdg = {
enable = true;
configFile."dunt/dunstrc" = {
source = ./dunstrc;
};
configFile."dunt/dunstrc" = { source = ./dunstrc; };
};
services.dunst.enable = true;
};
in
{
home-manager.users.moritz = { ... }: (base);
}
in { home-manager.users.moritz = { ... }: (base); }

View file

@ -1,14 +1,10 @@
{ inputs }:
final: prev: {
picom = prev.picom.overrideAttrs (old: {
src = inputs.picom;
});
picom = prev.picom.overrideAttrs (old: { src = inputs.picom; });
unstable = import inputs.unstable {
system = prev.system;
config.allowUnfree = true;
};
nur = import inputs.nur {
system = prev.system;
};
nur = import inputs.nur { system = prev.system; };
}