Move files

This commit is contained in:
Aaron Honeycutt 2023-01-16 13:24:13 -07:00
parent 910b84667f
commit 6e79433ebc
4 changed files with 0 additions and 0 deletions

26
desktops/gnome.nix Normal file
View file

@ -0,0 +1,26 @@
{ config, pkgs, ... }:
{
# GNOME
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
desktopManager.gnome.enable = true;
};
# Add GNOME packages
environment.systemPackages = [
pkgs.amberol
];
# Remove GNOME packages
environment.gnome.excludePackages = (with pkgs; [
gnome-photos
gnome-tour
epiphany # web browser
]);
# Services
services.udev.packages = with pkgs; [ gnome.gnome-settings-daemon ];
}

20
desktops/pantheon.nix Normal file
View file

@ -0,0 +1,20 @@
{ config, pkgs, ... }:
{
# Desktop
services.xserver = {
enable = true;
desktopManager.pantheon.enable = true;
};
# Remove Pantheon packages
environment.pantheon.excludePackages = (with pkgs; [
pantheon.appcenter # AppCenter as it can't be used on NixOS
]);
# Hacks
systemd.extraConfig = ''
DefaultTimeoutStopSec=10s
DefaultTimeoutStartSec=10s
'';
}

29
desktops/plasma.nix Normal file
View file

@ -0,0 +1,29 @@
{ config, pkgs, ... }:
{
# Plasma
services.xserver = {
enable = true;
displayManager.sddm.enable = true;
displayManager.sddm.settings.Wayland.SessionDir =
"${pkgs.plasma5Packages.plasma-workspace}/share/wayland-sessions";
desktopManager.plasma5.enable = true;
};
# Install some packages
environment.systemPackages =
with pkgs;
[
libsForQt5.ark
libsForQt5.bismuth
libsForQt5.full
libsForQt5.kalendar
libsForQt5.kate
libsForQt5.kdeconnect-kde
libsForQt5.kde-gtk-config
libsForQt5.plasma-framework
libsForQt5.plasma-nm
libsForQt5.plasma-pa
libsForQt5.sddm
];
}

36
desktops/sway.nix Normal file
View file

@ -0,0 +1,36 @@
{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
alacritty # gpu accelerated terminal
sway
dbus-sway-environment
configure-gtk
wayland
xdg-utils # for openning default programms when clicking links
glib # gsettings
dracula-theme # gtk theme
gnome3.adwaita-icon-theme # default gnome cursors
swaylock
swayidle
grim # screenshot functionality
slurp # screenshot functionality
wl-clipboard # wl-copy and wl-paste for copy/paste from stdin / stdout
bemenu # wayland clone of dmenu
mako # notification system developed by swaywm maintainer
];
services.dbus.enable = true;
xdg.portal = {
enable = true;
wlr.enable = true;
# gtk portal needed to make gtk apps happy
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
};
# enable sway window manager
programs.sway = {
enable = true;
wrapperFeatures.gtk = true;
};
}