From e1c8f30eb35f2d083d0baefde6f90b3087ccb8b0 Mon Sep 17 00:00:00 2001 From: vanten-s Date: Fri, 30 Aug 2024 12:41:24 +0200 Subject: [PATCH] :3 --- configuration.nix | 17 +++++++++++++++++ dotfiles/hypr/hyprland.conf | 1 + home-modules/fll.nix | 5 +++++ home-modules/schildichat.nix | 5 +++++ home.nix | 1 + 5 files changed, 29 insertions(+) create mode 100644 home-modules/fll.nix create mode 100644 home-modules/schildichat.nix diff --git a/configuration.nix b/configuration.nix index 6153e4e..913a10b 100644 --- a/configuration.nix +++ b/configuration.nix @@ -155,11 +155,13 @@ in { cifs-utils ffmpeg pulsemixer + xorg.xhost swaybg swww python3 python311Packages.pip python311Packages.pygobject3 + gparted libsForQt5.kamoso zoom-us gcc @@ -185,6 +187,8 @@ in { (epsonscan2.override { withNonFreePlugins = true; }) ]; + security.polkit.enable = true; + environment.variables = { LD_LIBRARY_PATH = with pkgs; lib.makeLibraryPath [ fontconfig @@ -219,6 +223,19 @@ in { pulse.enable = true; }; + security.sudo.extraRules = [ + { groups = [ "wheel" ]; commands = [ + { + command = "/run/current-system/sw/bin/wg-quick"; + options = [ "NOPASSWD" ]; + } + { + command = "/run/current-system/sw/bin/wg"; + options = [ "NOPASSWD" ]; + } + ]; } + ]; + environment.etc = { "wireplumber/bluetooth.lua.d/51-bluez-config.lua".text = '' bluez_monitor.properties = { diff --git a/dotfiles/hypr/hyprland.conf b/dotfiles/hypr/hyprland.conf index 037ea4b..d6ab97c 100644 --- a/dotfiles/hypr/hyprland.conf +++ b/dotfiles/hypr/hyprland.conf @@ -7,6 +7,7 @@ xwayland { source=~/.config/local/display.conf exec-once = waybar & waypaper --restore exec-once = mako +exec-once = xhost +local: input { kb_layout = se diff --git a/home-modules/fll.nix b/home-modules/fll.nix new file mode 100644 index 0000000..0b2b514 --- /dev/null +++ b/home-modules/fll.nix @@ -0,0 +1,5 @@ +{ pkgs, ...}: + +{ + home.packages = with pkgs; [ leocad ]; +} diff --git a/home-modules/schildichat.nix b/home-modules/schildichat.nix new file mode 100644 index 0000000..92b3562 --- /dev/null +++ b/home-modules/schildichat.nix @@ -0,0 +1,5 @@ +{ pkgs, ... }: + +{ + +} diff --git a/home.nix b/home.nix index a8ace81..a984d77 100644 --- a/home.nix +++ b/home.nix @@ -3,6 +3,7 @@ { imports = [ ./home-modules/emacs.nix + ./home-modules/fll.nix ./home-modules/fetch.nix ./home-modules/silicon.nix ];