mirror of
https://github.com/SebastianStork/nixos-config.git
synced 2026-01-21 21:01:34 +01:00
Switch to nixfmt
This commit is contained in:
parent
1d70117186
commit
b38d2df431
55 changed files with 1559 additions and 1540 deletions
|
|
@ -1,22 +1,30 @@
|
|||
{
|
||||
assembleWrapper,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {theme ? "dark"}:
|
||||
assembleWrapper,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
{
|
||||
theme ? "dark",
|
||||
}:
|
||||
assembleWrapper {
|
||||
basePackage = pkgs.rofi-wayland;
|
||||
basePackage = pkgs.rofi-wayland;
|
||||
|
||||
flags = let
|
||||
color-file =
|
||||
{
|
||||
dark = ./dark.rasi;
|
||||
light = ./light.rasi;
|
||||
}
|
||||
.${theme};
|
||||
rofi-config = pkgs.concatText "rofi-config" [./config.rasi color-file];
|
||||
in [
|
||||
"-config"
|
||||
rofi-config
|
||||
flags =
|
||||
let
|
||||
color-file =
|
||||
{
|
||||
dark = ./dark.rasi;
|
||||
light = ./light.rasi;
|
||||
}
|
||||
.${theme};
|
||||
rofi-config = pkgs.concatText "rofi-config" [
|
||||
./config.rasi
|
||||
color-file
|
||||
];
|
||||
in
|
||||
[
|
||||
"-config"
|
||||
rofi-config
|
||||
];
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue