From 0ffa604e8f149f6dc27bbbc3bc4e4ace24cba12e Mon Sep 17 00:00:00 2001 From: catvayor Date: Thu, 22 Aug 2024 17:13:14 +0200 Subject: [PATCH] ~ --- machines/kat-probook/default.nix | 11 +++++++---- machines/kat-probook/hardware-configuration.nix | 2 +- modules/desktop/sway.nix | 10 +++++----- modules/ssh.nix | 2 +- 4 files changed, 14 insertions(+), 11 deletions(-) diff --git a/machines/kat-probook/default.nix b/machines/kat-probook/default.nix index 2881268..11e8ad5 100644 --- a/machines/kat-probook/default.nix +++ b/machines/kat-probook/default.nix @@ -29,11 +29,14 @@ nixpkgs.config.allowUnfree = true; + security.rtkit.enable = true; + services.pipewire = { + enable = true; + alsa.enable = true; + alsa.support32Bit = true; + pulse.enable = true; + }; hardware = { - pulseaudio = { - enable = true; - package = pkgs.pulseaudioFull; - }; bluetooth = { enable = true; powerOnBoot = false; diff --git a/machines/kat-probook/hardware-configuration.nix b/machines/kat-probook/hardware-configuration.nix index 28e4608..c6686d6 100644 --- a/machines/kat-probook/hardware-configuration.nix +++ b/machines/kat-probook/hardware-configuration.nix @@ -27,7 +27,7 @@ fileSystems."/" = { device = "/dev/disk/by-uuid/4c1f76c6-5ce6-4987-b15e-9419627b7f19"; fsType = "bcachefs"; - options = [ "fsck" "fix_errors" ]; + # options = [ "fsck" "fix_errors" ]; }; boot.initrd.luks.devices."dec-lin" = { diff --git a/modules/desktop/sway.nix b/modules/desktop/sway.nix index 1da9d8c..fdedf3e 100644 --- a/modules/desktop/sway.nix +++ b/modules/desktop/sway.nix @@ -101,7 +101,7 @@ terminal = "alacritty"; input."type:keyboard".xkb_layout = "fr"; startup = [ - { command = "waybar -b bar-0"; } + # { command = "waybar -b bar-0"; } { command = "${pkgs.pulseaudio}/bin/pactl set-sink-mute @DEFAULT_SINK@ on"; } { command = "${pkgs.pulseaudio}/bin/pactl set-source-mute @DEFAULT_SOURCE@ on"; } @@ -110,11 +110,11 @@ { command = "thunderbird"; } { command = "mattermost-desktop"; } { command = "signal-desktop --"; } - { command = "${lib.getExe pkgs.element-desktop}"; } + # { command = "${lib.getExe pkgs.element-desktop}"; } { command = ''sh -c "sleep 2 && exec keepassxc"''; } - { - command = "alacritty --class weechat --title weechat --command ${pkgs.bash}/bin/bash -c ${weechatCmd}"; - } + # { + # command = "alacritty --class weechat --title weechat --command ${pkgs.bash}/bin/bash -c ${weechatCmd}"; + # } ]; assigns = { "1" = [ { app_id = "firefox"; } ]; diff --git a/modules/ssh.nix b/modules/ssh.nix index 59dcebc..3b1a8b9 100644 --- a/modules/ssh.nix +++ b/modules/ssh.nix @@ -79,7 +79,7 @@ user = "root"; hostname = "vault01.hyp01.infra.dgnum.eu"; }; - "oob.dgn" = { + "bridge01.dgnum" = { user = "root"; hostname = "fd26:baf9:d250:8000::ffff"; proxyJump = "vault01.dgnum";