From 925a106692a49ad5e71c6f807a8999395ef9669a Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Thu, 26 Aug 2021 22:17:13 +0000 Subject: [PATCH] Add sway config for rainbwodash --- sets/pipewire.nix | 21 --------------------- system/rainbowdash/default.nix | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 21 deletions(-) delete mode 100644 sets/pipewire.nix diff --git a/sets/pipewire.nix b/sets/pipewire.nix deleted file mode 100644 index 07a05db..0000000 --- a/sets/pipewire.nix +++ /dev/null @@ -1,21 +0,0 @@ -{ pkgs, lib, ... }: - -{ - services.pipewire = { - enable = true; - alsa = { - enable = true; - support32Bit = pkgs.targetPlatform.system == "x86_64-linux"; - }; - pulse.enable = true; - jack.enable = true; - }; - hardware.pulseaudio.enable = lib.mkForce false; - environment.systemPackages = with pkgs; [ - pulseaudioLight - qjackctl - - carla - lsp-plugins - ]; -} diff --git a/system/rainbowdash/default.nix b/system/rainbowdash/default.nix index 4bf731b..73c8f95 100644 --- a/system/rainbowdash/default.nix +++ b/system/rainbowdash/default.nix @@ -22,6 +22,31 @@ boot.supportedFilesystems = [ "nfs4" ]; + # Home + home-manager.users.artemis = { + wayland.windowManager.sway.config = { + output."eDP-1" = { mode = "3840x2400@59.994Hz"; scale = "2"; }; + input."1386:18753:Wacom_HID_4941_Finger".map_to_output = "eDP-1"; + input."1739:52710:DLL096D:01_06CB:CDE6_Touchpad" = { middle_emulation = "enabled"; click_method = "clickfinger"; }; + }; + xdg.configFile."rustybar/config.toml".text = '' + [[tile]] + type = "iwd" + interface = "wlan0" + [[tile]] + type = "load" + [[tile]] + type = "memory" + [[tile]] + type = "hostname" + [[tile]] + type = "battery" + [[tile]] + type = "time" + format = "%Y-%m-%dT%H-%S-%S" + ''; + }; + networking.domain = "manehattan.artem.ist"; networking.hostName = "rainbowdash"; system.stateVersion = "20.03";