minor config changes
This commit is contained in:
parent
d2790f4a61
commit
71c8ab1178
3 changed files with 15 additions and 30 deletions
|
@ -92,6 +92,8 @@
|
|||
# Enable sound with pipewire.
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = false;
|
||||
#hardware.pulseaudio.support32Bit = true;
|
||||
#hardware.pulseaudio.extraConfig = "load-module module-combine-sink";
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
|
@ -123,7 +125,7 @@
|
|||
users.users.insert = {
|
||||
isNormalUser = true;
|
||||
description = "insert";
|
||||
extraGroups = [ "networkmanager" "wheel" "input" "docker" "libvirtd" ];
|
||||
extraGroups = [ "networkmanager" "wheel" "input" "docker" "audio" "libvirtd" ];
|
||||
shell = pkgs.zsh;
|
||||
};
|
||||
|
||||
|
@ -190,6 +192,8 @@
|
|||
inputs.agenix.packages."${pkgs.system}".default
|
||||
pkgs.vlc
|
||||
#pkgs.hyprland
|
||||
pkgs.pavucontrol
|
||||
pkgs.pulseaudio
|
||||
pkgs.wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
|
||||
pkgs.bemenu # wayland clone of dmenu
|
||||
pkgs.mako # notification system developed by swaywm maintainer
|
||||
|
@ -297,7 +301,14 @@
|
|||
};
|
||||
|
||||
systemd.user.services.waybar.enable = false;
|
||||
|
||||
xdg.portal.wlr.settings = {
|
||||
screencast = {
|
||||
output_name = "HDMI-A-1";
|
||||
max_fps = 30;
|
||||
chooser_type = "simple";
|
||||
chooser_cmd = "${pkgs.slurp}/bin/slurp -f %o -or";
|
||||
};
|
||||
};
|
||||
xdg.portal.wlr.enable = true;
|
||||
xdg.portal = { enable = true; extraPortals = [ pkgs.xdg-desktop-portal-gtk pkgs.xdg-desktop-portal-wlr ]; };
|
||||
#xdg.portal = { enable = true; extraPortals = [ inputs.hyprland.packages.${pkgs.system}.xdg-desktop-portal-hyprland ]; };
|
||||
|
|
|
@ -95,34 +95,6 @@ border-color=#ef9f76'';
|
|||
"clock": {
|
||||
"format":" {:%R %d/%m}",
|
||||
"tooltip-format": "<big>{:%Y %B}</big>\n<tt><small>{calendar}</small></tt>"
|
||||
},
|
||||
"pulseaudio": {
|
||||
"format": "{icon} {volume}%",
|
||||
"tooltip": false,
|
||||
"format-muted": " Muted",
|
||||
"on-click": "pamixer -t",
|
||||
"on-scroll-up": "pamixer -i 5",
|
||||
"on-scroll-down": "pamixer -d 5",
|
||||
"scroll-step": 5,
|
||||
"format-icons": {
|
||||
"headphone": "",
|
||||
"hands-free": "",
|
||||
"headset": "",
|
||||
"phone": "",
|
||||
"portable": "",
|
||||
"car": "",
|
||||
"default": ["", "", ""]
|
||||
}
|
||||
},
|
||||
"pulseaudio#microphone": {
|
||||
"format": "{format_source}",
|
||||
"tooltip": false,
|
||||
"format-source": " {volume}%",
|
||||
"format-source-muted": " Muted",
|
||||
"on-click": "pamixer --default-source -t",
|
||||
"on-scroll-up": "pamixer --default-source -i 5",
|
||||
"on-scroll-down": "pamixer --default-source -d 5",
|
||||
"scroll-step": 5
|
||||
}
|
||||
}
|
||||
'';
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
# })) ];
|
||||
#boot.kernelPackages = pkgs.linuxPackages;
|
||||
|
||||
boot.extraModulePackages = with config.boot.kernelPackages; [ v4l2loopback ];
|
||||
|
||||
services.sunshine = {
|
||||
enable = true;
|
||||
autoStart = true;
|
||||
|
|
Loading…
Reference in a new issue