aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortdback <tyler@tdback.net>2025-01-24 22:32:29 -0500
committertdback <tyler@tdback.net>2025-01-24 22:33:28 -0500
commit509b69329726b6717972f0bdb7e5f91c80a89247 (patch)
treeb05844213fdc67cb2c557fca50166b8014d8df66
parent40efc83dc451cd26eec47b731a0b8a79f5ce42a8 (diff)
modules/profiles: consolidated into common/xorg profiles
-rw-r--r--modules/profiles/common/default.nix8
-rw-r--r--modules/profiles/pipewire/default.nix13
-rw-r--r--modules/profiles/security/default.nix10
-rw-r--r--modules/profiles/xorg/default.nix10
4 files changed, 18 insertions, 23 deletions
diff --git a/modules/profiles/common/default.nix b/modules/profiles/common/default.nix
index da7df0f..d364a7f 100644
--- a/modules/profiles/common/default.nix
+++ b/modules/profiles/common/default.nix
@@ -39,6 +39,14 @@
];
};
+ security = {
+ polkit.enable = true;
+ sudo = {
+ enable = lib.mkDefault true;
+ wheelNeedsPassword = lib.mkDefault false;
+ };
+ };
+
programs = {
git.enable = true;
htop.enable = true;
diff --git a/modules/profiles/pipewire/default.nix b/modules/profiles/pipewire/default.nix
deleted file mode 100644
index ac70f08..0000000
--- a/modules/profiles/pipewire/default.nix
+++ /dev/null
@@ -1,13 +0,0 @@
-{ ... }:
-{
- services.pipewire = {
- enable = true;
- alsa = {
- enable = true;
- support32Bit = true;
- };
- pulse.enable = true;
- };
-
- security.rtkit.enable = true;
-}
diff --git a/modules/profiles/security/default.nix b/modules/profiles/security/default.nix
deleted file mode 100644
index de73534..0000000
--- a/modules/profiles/security/default.nix
+++ /dev/null
@@ -1,10 +0,0 @@
-{ lib, ... }:
-{
- security = {
- polkit.enable = true;
- sudo = {
- enable = lib.mkDefault true;
- wheelNeedsPassword = lib.mkDefault false;
- };
- };
-}
diff --git a/modules/profiles/xorg/default.nix b/modules/profiles/xorg/default.nix
index fce4b26..8004d05 100644
--- a/modules/profiles/xorg/default.nix
+++ b/modules/profiles/xorg/default.nix
@@ -24,6 +24,16 @@
windowManager.bspwm.enable = true;
};
+ security.rtkit.enable = true;
+ services.pipewire = {
+ enable = true;
+ pulse.enable = true;
+ alsa = {
+ enable = true;
+ support32Bit = true;
+ };
+ };
+
environment.systemPackages = with pkgs.xorg; [
libX11
xset