style: let nixpkgs-fmt run over everything
This commit is contained in:
parent
67e495dc4f
commit
99389a2022
25 changed files with 152 additions and 145 deletions
|
|
@ -102,7 +102,8 @@
|
|||
|
||||
"$mod" = "SUPER";
|
||||
|
||||
bind = let
|
||||
bind =
|
||||
let
|
||||
alacritty = lib.getExe pkgs.alacritty;
|
||||
hyprshot = lib.getExe pkgs.hyprshot;
|
||||
wofi = lib.getExe pkgs.wofi;
|
||||
|
|
@ -160,10 +161,12 @@
|
|||
++ (map (n: "$mod,${n},workspace,${n}") workspaces)
|
||||
++ (map (n: "$mod SHIFT,${n},movetoworkspacesilent,${n}") workspaces);
|
||||
|
||||
bindel = let
|
||||
bindel =
|
||||
let
|
||||
brightnessctl = lib.getExe' pkgs.brightnessctl "brightnessctl";
|
||||
wpctl = lib.getExe' pkgs.wireplumber "wpctl";
|
||||
in [
|
||||
in
|
||||
[
|
||||
", XF86AudioRaiseVolume, exec, ${wpctl} set-volume @DEFAULT_AUDIO_SINK@ 5%+"
|
||||
", XF86AudioLowerVolume, exec, ${wpctl} set-volume @DEFAULT_AUDIO_SINK@ 5%-"
|
||||
" ,XF86AudioMute, exec, ${wpctl} set-mute @DEFAULT_AUDIO_SINK@ toggle"
|
||||
|
|
@ -171,10 +174,12 @@
|
|||
", XF86MonBrightnessDown,exec, ${brightnessctl} s 5%-"
|
||||
];
|
||||
|
||||
bindl = let
|
||||
bindl =
|
||||
let
|
||||
playerctl = lib.getExe' pkgs.playerctl "playerctl";
|
||||
swaylock = lib.getExe pkgs.swaylock;
|
||||
in [
|
||||
in
|
||||
[
|
||||
", XF86AudioPrev, exec, ${playerctl} previous"
|
||||
", XF86AudioPlay, exec, ${playerctl} play-pause"
|
||||
", XF86AudioNext, exec, ${playerctl} next"
|
||||
|
|
|
|||
|
|
@ -5,7 +5,8 @@
|
|||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||
[
|
||||
(modulesPath + "/installer/scan/not-detected.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "thunderbolt" "usb_storage" "sd_mod" ];
|
||||
|
|
@ -14,19 +15,20 @@
|
|||
boot.extraModulePackages = [ ];
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/disk/by-label/nix-root";
|
||||
{
|
||||
device = "/dev/disk/by-label/nix-root";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
fileSystems."/boot" =
|
||||
{ device = "/dev/disk/by-label/EFI";
|
||||
{
|
||||
device = "/dev/disk/by-label/EFI";
|
||||
fsType = "vfat";
|
||||
options = [ "fmask=0077" "dmask=0077" ];
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/disk/by-label/swap"; }
|
||||
];
|
||||
[{ device = "/dev/disk/by-label/swap"; }];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
# (the default) this is the recommended approach. When using systemd-networkd it's
|
||||
|
|
|
|||
Loading…
Reference in a new issue