Run nixpkgs-fmt
This commit is contained in:
parent
cd50ad37b1
commit
64fa4ec76c
10 changed files with 72 additions and 72 deletions
|
@ -79,7 +79,7 @@
|
|||
deploy.overlay
|
||||
./pkgs/default.nix
|
||||
|
||||
fenix.overlay
|
||||
fenix.overlay
|
||||
];
|
||||
};
|
||||
latest = { };
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
leaveDotGit = false;
|
||||
sha256 = "0rr66y86g6g8ixg69yd6ahyzirl82gfvyv6j2w6b0zv5x0979x9v";
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
manix = {
|
||||
pname = "manix";
|
||||
|
@ -25,6 +25,6 @@
|
|||
leaveDotGit = false;
|
||||
sha256 = "1b7xi8c2drbwzfz70czddc4j33s7g1alirv12dwl91hbqxifx8qs";
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ lib, sources, stdenv, vimUtils, ... }:
|
||||
vimUtils.buildVimPluginFrom2Nix {
|
||||
inherit (sources.go-fold-if-err-nil) src version;
|
||||
name = "go-fold-if-err-nil";
|
||||
meta.homepage = "https://im.badat.dev/bad/nvimgofoldiferrnil";
|
||||
inherit (sources.go-fold-if-err-nil) src version;
|
||||
name = "go-fold-if-err-nil";
|
||||
meta.homepage = "https://im.badat.dev/bad/nvimgofoldiferrnil";
|
||||
}
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
services.flatpak.enable = true;
|
||||
services.flatpak.enable = true;
|
||||
}
|
||||
|
|
|
@ -2,6 +2,6 @@
|
|||
{
|
||||
programs.java.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
jdk
|
||||
jdk
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,46 +1,46 @@
|
|||
{...}:
|
||||
{ ... }:
|
||||
{
|
||||
|
||||
# rtkit is optional but recommended
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
# rtkit is optional but recommended
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
media-session.enable = true;
|
||||
# use the example session manager (no others are packaged yet so this is enabled by default,
|
||||
# no need to redefine it in your config for now)
|
||||
media-session.enable = true;
|
||||
|
||||
#bluetooth config
|
||||
#bluetooth config
|
||||
media-session.config.bluez-monitor.rules = [
|
||||
{
|
||||
# Matches all cards
|
||||
matches = [ { "device.name" = "~bluez_card.*"; } ];
|
||||
actions = {
|
||||
"update-props" = {
|
||||
"bluez5.reconnect-profiles" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ];
|
||||
# mSBC is not expected to work on all headset + adapter combinations.
|
||||
"bluez5.msbc-support" = true;
|
||||
# SBC-XQ is not expected to work on all headset + adapter combinations.
|
||||
"bluez5.sbc-xq-support" = true;
|
||||
{
|
||||
# Matches all cards
|
||||
matches = [{ "device.name" = "~bluez_card.*"; }];
|
||||
actions = {
|
||||
"update-props" = {
|
||||
"bluez5.reconnect-profiles" = [ "hfp_hf" "hsp_hs" "a2dp_sink" ];
|
||||
# mSBC is not expected to work on all headset + adapter combinations.
|
||||
"bluez5.msbc-support" = true;
|
||||
# SBC-XQ is not expected to work on all headset + adapter combinations.
|
||||
"bluez5.sbc-xq-support" = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
# Matches all sources
|
||||
{ "node.name" = "~bluez_input.*"; }
|
||||
# Matches all outputs
|
||||
{ "node.name" = "~bluez_output.*"; }
|
||||
];
|
||||
actions = {
|
||||
"node.pause-on-idle" = false;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
{
|
||||
matches = [
|
||||
# Matches all sources
|
||||
{ "node.name" = "~bluez_input.*"; }
|
||||
# Matches all outputs
|
||||
{ "node.name" = "~bluez_output.*"; }
|
||||
];
|
||||
actions = {
|
||||
"node.pause-on-idle" = false;
|
||||
};
|
||||
}
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{pkgs, ...}:
|
||||
{
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio = {
|
||||
enable = true;
|
||||
|
|
|
@ -4,12 +4,12 @@
|
|||
|
||||
home.sessionVariables = {
|
||||
XDG_DATA_DIRS = "$XDG_DATA_DIRS:/var/lib/flatpak/exports/share:$HOME/.local/share/flatpak/exports/share";
|
||||
# NIX_BUILD_SHELL = "zsh";
|
||||
# NIX_BUILD_SHELL = "zsh";
|
||||
};
|
||||
gtk.theme.name = "arc-dark";
|
||||
gtk.theme.package = pkgs.arc-theme;
|
||||
programs.go = {
|
||||
enable = true;
|
||||
goPath = ".local/go";
|
||||
enable = true;
|
||||
goPath = ".local/go";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
programs.direnv = {
|
||||
enable = true;
|
||||
nix-direnv = {
|
||||
enable = true;
|
||||
enableFlakes = true;
|
||||
enable = true;
|
||||
enableFlakes = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{ pkgs, lib, ... }:
|
||||
let
|
||||
rofi = pkgs.rofi.override { plugins = [ pkgs.rofi-emoji ]; };
|
||||
rofi = pkgs.rofi.override { plugins = [ pkgs.rofi-emoji ]; };
|
||||
in
|
||||
{
|
||||
wayland.windowManager.sway = rec {
|
||||
|
@ -14,7 +14,7 @@ in
|
|||
xkb_layout = "pl";
|
||||
accel_profile = "flat";
|
||||
dwt = "disabled";
|
||||
pointer_accel = "0.0";
|
||||
pointer_accel = "0.0";
|
||||
};
|
||||
};
|
||||
bars = [{
|
||||
|
@ -25,12 +25,12 @@ in
|
|||
}];
|
||||
floating.criteria = [{ title = "Steam - Update News"; }];
|
||||
startup = [
|
||||
# Copied from https://git.sr.ht/~sumner/home-manager-config/tree/master/item/modules/window-manager/wayland.nix#L64
|
||||
# See https://github.com/nix-community/home-manager/issues/2028
|
||||
# Make all the pinentry stuff work
|
||||
# See: https://github.com/NixOS/nixpkgs/issues/119445#issuecomment-820507505
|
||||
# and: https://github.com/NixOS/nixpkgs/issues/57602#issuecomment-820512097
|
||||
{ command = "dbus-update-activation-environment WAYLAND_DISPLAY"; }
|
||||
# Copied from https://git.sr.ht/~sumner/home-manager-config/tree/master/item/modules/window-manager/wayland.nix#L64
|
||||
# See https://github.com/nix-community/home-manager/issues/2028
|
||||
# Make all the pinentry stuff work
|
||||
# See: https://github.com/NixOS/nixpkgs/issues/119445#issuecomment-820507505
|
||||
# and: https://github.com/NixOS/nixpkgs/issues/57602#issuecomment-820512097
|
||||
{ command = "dbus-update-activation-environment WAYLAND_DISPLAY"; }
|
||||
];
|
||||
};
|
||||
wrapperFeatures.gtk = true;
|
||||
|
@ -45,20 +45,20 @@ in
|
|||
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||
'';
|
||||
};
|
||||
|
||||
|
||||
programs.rofi = {
|
||||
enable = true;
|
||||
package = rofi;
|
||||
theme = "purple";
|
||||
extraConfig = {
|
||||
modi = "combi";
|
||||
combi-modi = "drun,emoji";
|
||||
};
|
||||
enable = true;
|
||||
package = rofi;
|
||||
theme = "purple";
|
||||
extraConfig = {
|
||||
modi = "combi";
|
||||
combi-modi = "drun,emoji";
|
||||
};
|
||||
};
|
||||
|
||||
programs.mako = {
|
||||
enable = true;
|
||||
defaultTimeout = 2000;
|
||||
enable = true;
|
||||
defaultTimeout = 2000;
|
||||
};
|
||||
|
||||
programs.i3status-rust = {
|
||||
|
|
Loading…
Reference in a new issue