Made desktop env declarations common + sway scrsht
This commit is contained in:
17
modules/common/pipewire.nix
Normal file
17
modules/common/pipewire.nix
Normal file
@@ -0,0 +1,17 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
# Enable sound with pipewire.
|
||||
services.pulseaudio.enable = false;
|
||||
security.rtkit.enable = true;
|
||||
services.pipewire = {
|
||||
enable = true;
|
||||
alsa.enable = true;
|
||||
alsa.support32Bit = true;
|
||||
pulse.enable = true;
|
||||
# If you want to use JACK applications, uncomment this
|
||||
#jack.enable = true;
|
||||
};
|
||||
}
|
||||
35
modules/de/gnome.nix
Normal file
35
modules/de/gnome.nix
Normal file
@@ -0,0 +1,35 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.desktopManager.gnome.enable = true;
|
||||
programs.kdeconnect.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
gnome-tweaks
|
||||
# GNOME-specific packages
|
||||
bustle
|
||||
collision
|
||||
commit
|
||||
dialect
|
||||
fretboard
|
||||
#gaphor
|
||||
hieroglyphic
|
||||
junction
|
||||
keypunch
|
||||
letterpress
|
||||
gnome-obfuscate
|
||||
shortwave
|
||||
solanum
|
||||
wike
|
||||
commit
|
||||
wl-clipboard
|
||||
gnomeExtensions.gsconnect
|
||||
gnomeExtensions.astra-monitor
|
||||
lm_sensors
|
||||
iotop
|
||||
gtop
|
||||
wirelesstools
|
||||
];
|
||||
}
|
||||
13
modules/de/multiple-dms.nix
Normal file
13
modules/de/multiple-dms.nix
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
xkb.layout = "us";
|
||||
xkb.variant = "intl";
|
||||
};
|
||||
|
||||
services.displayManager.gdm.enable = true;
|
||||
}
|
||||
24
modules/de/sway.nix
Normal file
24
modules/de/sway.nix
Normal file
@@ -0,0 +1,24 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
programs.sway = {
|
||||
enable = true;
|
||||
wrapperFeatures.gtk = true;
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
mako # Notification daemon for Sway
|
||||
playerctl
|
||||
pavucontrol
|
||||
blueman
|
||||
xorg.xhost
|
||||
# Screenshots
|
||||
wl-copy
|
||||
grim
|
||||
slurp
|
||||
# Other Sway-specific packages
|
||||
];
|
||||
programs.light.enable = true; # For brightness control
|
||||
}
|
||||
Reference in New Issue
Block a user