1
0
forked from extern/nix-config

chore: Formatting

This commit is contained in:
Donovan Glover 2023-06-22 11:13:46 -04:00
parent 8ffb196c0b
commit 7316153e37
No known key found for this signature in database
GPG Key ID: EA7408A77AE1BE65
12 changed files with 38 additions and 17 deletions

View File

@ -1,4 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }:
{
home.packages = with pkgs; [ libnotify ]; home.packages = with pkgs; [ libnotify ];
services.dunst = { services.dunst = {

View File

@ -1,4 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }:
{
programs.mpv = { programs.mpv = {
enable = true; enable = true;

View File

@ -308,9 +308,9 @@ in
startify.section.header.val = vim.fn.system("${pkgs.fish}/bin/fish -c 'cat (random choice (${pkgs.fd}/bin/fd . ${pkgs.ponysay}/share/ponysay/quotes --ignore-file ~/.config/fd/ponyignore)) | head -n 1'") startify.section.header.val = vim.fn.system("${pkgs.fish}/bin/fish -c 'cat (random choice (${pkgs.fd}/bin/fd . ${pkgs.ponysay}/share/ponysay/quotes --ignore-file ~/.config/fd/ponyignore)) | head -n 1'")
startify.section.top_buttons.val = { startify.section.top_buttons.val = {
startify.button("e", "", "<cmd>ene <CR>") startify.button("e", "", "<cmd>ene <CR>")
} }
startify.section.mru.val = { { type = "padding", val = 0 } } startify.section.mru.val = { { type = "padding", val = 0 } }
startify.section.mru_cwd.val = { startify.section.mru_cwd.val = {

View File

@ -1,4 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }:
{
programs.qutebrowser = { programs.qutebrowser = {
enable = true; enable = true;
package = pkgs.qutebrowser-qt6; package = pkgs.qutebrowser-qt6;

View File

@ -1,4 +1,6 @@
{ config, lib, ... }: { { config, lib, ... }:
{
programs.rofi = { programs.rofi = {
enable = true; enable = true;
cycle = false; cycle = false;

View File

@ -1,4 +1,6 @@
{ lib, ... }: { { lib, ... }:
{
programs.waybar = { programs.waybar = {
enable = true; enable = true;

View File

@ -1,4 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }:
{
home.packages = with pkgs; [ waycorner ]; home.packages = with pkgs; [ waycorner ];
xdg.configFile."waycorner/config.toml".text = /* toml */ '' xdg.configFile."waycorner/config.toml".text = /* toml */ ''

View File

@ -1,4 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }:
{
services.interception-tools = { services.interception-tools = {
enable = true; enable = true;
plugins = with pkgs.interception-tools-plugins; [ dual-function-keys ]; plugins = with pkgs.interception-tools-plugins; [ dual-function-keys ];

View File

@ -1,4 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }:
{
fonts = { fonts = {
enableDefaultFonts = false; enableDefaultFonts = false;

View File

@ -1,4 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }:
{
services.ratbagd.enable = true; services.ratbagd.enable = true;
environment.systemPackages = [ pkgs.piper ]; environment.systemPackages = [ pkgs.piper ];

View File

@ -4,8 +4,9 @@ let
quantum = 64; quantum = 64;
rate = 48000; rate = 48000;
qr = "${toString quantum}/${toString rate}"; qr = "${toString quantum}/${toString rate}";
json = pkgs.formats.json {}; json = pkgs.formats.json { };
in { in
{
services.pipewire = { services.pipewire = {
enable = true; enable = true;
@ -38,7 +39,7 @@ in {
rt.time.soft = 200000; rt.time.soft = 200000;
rt.time.hard = 200000; rt.time.hard = 200000;
}; };
flags = ["ifexists" "nofail"]; flags = [ "ifexists" "nofail" ];
} }
{ {
name = "libpipewire-module-protocol-pulse"; name = "libpipewire-module-protocol-pulse";
@ -46,7 +47,7 @@ in {
pulse.min.req = qr; pulse.min.req = qr;
pulse.min.quantum = qr; pulse.min.quantum = qr;
pulse.min.frag = qr; pulse.min.frag = qr;
server.address = ["unix:native"]; server.address = [ "unix:native" ];
}; };
} }
]; ];

View File

@ -1,4 +1,6 @@
{ pkgs, ... }: { { pkgs, ... }:
{
stylix.image = ../assets/wallpaper.png; stylix.image = ../assets/wallpaper.png;
stylix.polarity = "dark"; stylix.polarity = "dark";
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/monokai.yaml"; stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/monokai.yaml";