diff --git a/home/dunst.nix b/home/dunst.nix index 04fef59..0a43b00 100644 --- a/home/dunst.nix +++ b/home/dunst.nix @@ -1,4 +1,6 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +{ home.packages = with pkgs; [ libnotify ]; services.dunst = { diff --git a/home/mpv.nix b/home/mpv.nix index 97ae05e..100da43 100644 --- a/home/mpv.nix +++ b/home/mpv.nix @@ -1,4 +1,6 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +{ programs.mpv = { enable = true; diff --git a/home/neovim.nix b/home/neovim.nix index a562532..0a733ab 100644 --- a/home/neovim.nix +++ b/home/neovim.nix @@ -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.top_buttons.val = { - startify.button("e", "新しいファイル", "ene ") - } + startify.section.top_buttons.val = { + startify.button("e", "新しいファイル", "ene ") + } startify.section.mru.val = { { type = "padding", val = 0 } } startify.section.mru_cwd.val = { diff --git a/home/qutebrowser.nix b/home/qutebrowser.nix index c636908..7cda015 100644 --- a/home/qutebrowser.nix +++ b/home/qutebrowser.nix @@ -1,4 +1,6 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +{ programs.qutebrowser = { enable = true; package = pkgs.qutebrowser-qt6; diff --git a/home/rofi.nix b/home/rofi.nix index 1a87a57..61d2264 100644 --- a/home/rofi.nix +++ b/home/rofi.nix @@ -1,4 +1,6 @@ -{ config, lib, ... }: { +{ config, lib, ... }: + +{ programs.rofi = { enable = true; cycle = false; diff --git a/home/waybar.nix b/home/waybar.nix index 3b0fa14..816d1a9 100644 --- a/home/waybar.nix +++ b/home/waybar.nix @@ -1,4 +1,6 @@ -{ lib, ... }: { +{ lib, ... }: + +{ programs.waybar = { enable = true; diff --git a/home/waycorner.nix b/home/waycorner.nix index 0e502d7..4e12d83 100644 --- a/home/waycorner.nix +++ b/home/waycorner.nix @@ -1,4 +1,6 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +{ home.packages = with pkgs; [ waycorner ]; xdg.configFile."waycorner/config.toml".text = /* toml */ '' diff --git a/modules/dual-function-keys.nix b/modules/dual-function-keys.nix index e9478fc..735bcba 100644 --- a/modules/dual-function-keys.nix +++ b/modules/dual-function-keys.nix @@ -1,4 +1,6 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +{ services.interception-tools = { enable = true; plugins = with pkgs.interception-tools-plugins; [ dual-function-keys ]; diff --git a/modules/fonts.nix b/modules/fonts.nix index b6c5888..e2c5bb3 100644 --- a/modules/fonts.nix +++ b/modules/fonts.nix @@ -1,4 +1,6 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +{ fonts = { enableDefaultFonts = false; diff --git a/modules/piper.nix b/modules/piper.nix index a33c72b..872c49e 100644 --- a/modules/piper.nix +++ b/modules/piper.nix @@ -1,4 +1,6 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +{ services.ratbagd.enable = true; environment.systemPackages = [ pkgs.piper ]; diff --git a/modules/pipewire.nix b/modules/pipewire.nix index 0ec192a..b882e00 100644 --- a/modules/pipewire.nix +++ b/modules/pipewire.nix @@ -4,8 +4,9 @@ let quantum = 64; rate = 48000; qr = "${toString quantum}/${toString rate}"; - json = pkgs.formats.json {}; -in { + json = pkgs.formats.json { }; +in +{ services.pipewire = { enable = true; @@ -38,7 +39,7 @@ in { rt.time.soft = 200000; rt.time.hard = 200000; }; - flags = ["ifexists" "nofail"]; + flags = [ "ifexists" "nofail" ]; } { name = "libpipewire-module-protocol-pulse"; @@ -46,7 +47,7 @@ in { pulse.min.req = qr; pulse.min.quantum = qr; pulse.min.frag = qr; - server.address = ["unix:native"]; + server.address = [ "unix:native" ]; }; } ]; diff --git a/modules/stylix.nix b/modules/stylix.nix index 6d1c52e..644115a 100644 --- a/modules/stylix.nix +++ b/modules/stylix.nix @@ -1,4 +1,6 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +{ stylix.image = ../assets/wallpaper.png; stylix.polarity = "dark"; stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/monokai.yaml";