who needs atomic commits?
This commit is contained in:
parent
b3464f8df7
commit
d8538e9d52
6 changed files with 20 additions and 15 deletions
|
@ -1,4 +1,4 @@
|
|||
{ ... }: {
|
||||
{ pkgs, ... }: {
|
||||
# Enable sound with pipewire.
|
||||
sound.enable = false;
|
||||
hardware.pulseaudio.enable = false;
|
||||
|
@ -9,4 +9,7 @@
|
|||
pulse.enable = true;
|
||||
#jack.enable = true;
|
||||
};
|
||||
environment.systemPackages = with pkgs; [
|
||||
pamixer
|
||||
];
|
||||
}
|
||||
|
|
|
@ -1,6 +1,3 @@
|
|||
{ pkgs, ... }: {
|
||||
{ ... }: {
|
||||
services.blueman.enable = true;
|
||||
environment.systemPackages = with pkgs; [
|
||||
blueman
|
||||
];
|
||||
}
|
||||
|
|
|
@ -15,12 +15,16 @@
|
|||
./virt.nix
|
||||
];
|
||||
|
||||
# Needed for some nautilus features like auto-mount and trash
|
||||
services.gvfs.enable = true;
|
||||
|
||||
# 57621: spotifyd
|
||||
networking.firewall.allowedTCPPorts = [ 57621 ];
|
||||
|
||||
# Auto-mount new devices
|
||||
services.udev.extraRules = ''
|
||||
ACTION=="add", SUBSYSTEMS=="usb", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", RUN{program}+="${pkgs.systemd}/bin/systemd-mount --no-block --automount=yes --collect $devnode /media"
|
||||
'';
|
||||
# services.udev.extraRules = ''
|
||||
# ACTION=="add", SUBSYSTEMS=="usb", SUBSYSTEM=="block", ENV{ID_FS_USAGE}=="filesystem", RUN{program}+="${pkgs.systemd}/bin/systemd-mount --no-block --automount=yes --collect $devnode /media"
|
||||
# '';
|
||||
|
||||
services.xserver.displayManager.gdm.enable = true;
|
||||
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
package = (pkgs.spotifyd.override {withKeyring = true; });
|
||||
settings = {
|
||||
global = {
|
||||
device_name = "desktop";
|
||||
bitrate = 160;
|
||||
volume_normalisation = true;
|
||||
autoplay = false;
|
||||
zeroconf_port = 57621;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
@ -2,8 +2,9 @@
|
|||
theme = import ../../../../colors.nix;
|
||||
in lib.mkIf (osConfig.withNiri) {
|
||||
home.packages = with pkgs; [
|
||||
polkit_gnome
|
||||
swaybg
|
||||
iwgtk
|
||||
blueberry
|
||||
];
|
||||
|
||||
programs.fuzzel= {
|
||||
|
@ -34,9 +35,7 @@ in lib.mkIf (osConfig.withNiri) {
|
|||
"clock"
|
||||
];
|
||||
modules-right = [
|
||||
"temperature"
|
||||
"cpu"
|
||||
"memory"
|
||||
"wireplumber"
|
||||
"battery"
|
||||
];
|
||||
};
|
||||
|
|
|
@ -75,6 +75,8 @@
|
|||
spawn-at-startup = [
|
||||
{ command = ["waybar"]; }
|
||||
{ command = ["swaybg" "-i" "${../../../wallpaper/wallpaper.png}" "-m" "fill"]; }
|
||||
{ command = ["pamixer" "--set-volume" "0"]; }
|
||||
{ command = ["systemctl" "--user" "restart" "spotifyd.service"]; }
|
||||
];
|
||||
|
||||
binds = {
|
||||
|
@ -82,8 +84,8 @@
|
|||
"Mod+B".action.spawn = "firefox";
|
||||
"Mod+S".action.spawn = ["fuzzel" "-I" "-T" "alacritty"];
|
||||
|
||||
"XF86AudioRaiseVolume".action.spawn = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1+";
|
||||
"XF86AudioLowerVolume".action.spawn = "wpctl set-volume @DEFAULT_AUDIO_SINK@ 0.1-";
|
||||
"XF86AudioRaiseVolume".action.spawn = "pamixer -i 5";
|
||||
"XF86AudioLowerVolume".action.spawn = "pamixer -d 5";
|
||||
|
||||
"Mod+Backspace".action.close-window = [];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue