From 91807c98ede58a823498a67479365e2389f3c96a Mon Sep 17 00:00:00 2001 From: vanten-s Date: Wed, 13 Mar 2024 22:41:08 +0100 Subject: [PATCH 1/4] Fixed pipewire --- configuration.nix | 13 ++++++++++--- dotfiles/hypr/hyprland.conf | 8 ++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) diff --git a/configuration.nix b/configuration.nix index d868927..7535099 100644 --- a/configuration.nix +++ b/configuration.nix @@ -66,9 +66,9 @@ in { packages = with pkgs; []; }; - hardware.pulseaudio.enable = true; - hardware.pulseaudio.support32Bit = true; - nixpkgs.config.pulseaudio = true; + # hardware.pulseaudio.enable = true; + # hardware.pulseaudio.support32Bit = true; + # nixpkgs.config.pulseaudio = true; programs.zsh.enable = true; # Allow unfree packages @@ -133,6 +133,13 @@ in { curl expat ]; + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; services.pcscd.enable = true; services.locate = { diff --git a/dotfiles/hypr/hyprland.conf b/dotfiles/hypr/hyprland.conf index 8cfcc44..9516c67 100644 --- a/dotfiles/hypr/hyprland.conf +++ b/dotfiles/hypr/hyprland.conf @@ -47,6 +47,7 @@ decoration { enabled = true size = 5 passes = 2 + special = true } drop_shadow = yes @@ -118,6 +119,7 @@ bind = $mainMod, D, exec, dmenu_path | fuzzel -d | sh bind = $mainMod SHIFT, P, exec, ~/scripts/password-select.sh bind = $mainMod SHIFT, U, exec, ~/scripts/usernames.sh bind = $mainMod SHIFT, S, exec, grimblast save area ss.png +bind = $mainMod SHIFT, R, forcerendererreload bind = $mainMod, P, pseudo, # dwindle bind = $mainMod, F, fakefullscreen @@ -164,3 +166,9 @@ bind = $mainMod, mouse_up, workspace, e-1 # Move/resize windows with mainMod + LMB/RMB and dragging bindm = $mainMod, mouse:272, movewindow bindm = $mainMod, mouse:273, resizewindow + +windowrulev2 = opacity 0.0 override 0.0 override,class:^(xwaylandvideobridge)$ +windowrulev2 = noanim,class:^(xwaylandvideobridge)$ +windowrulev2 = noinitialfocus,class:^(xwaylandvideobridge)$ +windowrulev2 = maxsize 1 1,class:^(xwaylandvideobridge)$ +windowrulev2 = noblur,class:^(xwaylandvideobridge)$ From a32c472f209cc308c4c1ce043a7f09ff64a1e22e Mon Sep 17 00:00:00 2001 From: vanten-s Date: Wed, 13 Mar 2024 22:43:49 +0100 Subject: [PATCH 2/4] Changed nvim tabs --- dotfiles/nvim/init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotfiles/nvim/init.lua b/dotfiles/nvim/init.lua index a50815e..677cdc8 100644 --- a/dotfiles/nvim/init.lua +++ b/dotfiles/nvim/init.lua @@ -6,7 +6,7 @@ require("lazy").setup("vanten.plugins") vim.api.nvim_command('set relativenumber') vim.api.nvim_command('set number') vim.api.nvim_command('set tabstop=4') -vim.api.nvim_command('set shiftwidth=4') +vim.api.nvim_command('set shiftwidth=4 smarttab expandtab') vim.api.nvim_command('set clipboard+=unnamedplus') require('vanten.after') From 56b6d99df3d46d3365dd14ce01db616af7561b05 Mon Sep 17 00:00:00 2001 From: vanten-s Date: Sat, 16 Mar 2024 13:45:10 +0100 Subject: [PATCH 3/4] Added prusa-slicer --- home.nix | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/home.nix b/home.nix index 0575ac9..2e20e7d 100644 --- a/home.nix +++ b/home.nix @@ -9,15 +9,16 @@ in { home.packages = [ pkgs.fortune - pkgs.htop - pkgs.xwaylandvideobridge - pipewire - pkgs.wireplumber - pkgs.xdg-desktop-portal-hyprland - pkgs.qt6.qtwayland - pkgs.libsForQt5.qt5.qtwayland - pkgs.obs-studio - pkgs.prismlauncher + pkgs.htop + pkgs.xwaylandvideobridge + pipewire + pkgs.wireplumber + pkgs.xdg-desktop-portal-hyprland + pkgs.qt6.qtwayland + pkgs.libsForQt5.qt5.qtwayland + pkgs.obs-studio + pkgs.prismlauncher + pkgs.prusa-slicer ]; home.file = { From 1bfee5b29d19aac5efe08ba917de94dbbf520ce3 Mon Sep 17 00:00:00 2001 From: vanten-s Date: Sat, 16 Mar 2024 14:31:55 +0100 Subject: [PATCH 4/4] Added gphoto2 --- home.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/home.nix b/home.nix index 2e20e7d..b4381ea 100644 --- a/home.nix +++ b/home.nix @@ -19,6 +19,7 @@ in { pkgs.obs-studio pkgs.prismlauncher pkgs.prusa-slicer + pkgs.gphoto2 ]; home.file = {