Initial configuration
This commit is contained in:
commit
44b011a6b4
15 changed files with 328 additions and 0 deletions
30
common/gui/default.nix
Normal file
30
common/gui/default.nix
Normal file
|
@ -0,0 +1,30 @@
|
|||
# Defines comfig for a "gui" system, in most cases a Desktop or Laptop
|
||||
{ config, ... }:
|
||||
|
||||
{
|
||||
imports = [ ./pkgs.nix ];
|
||||
|
||||
# Basic X11/display manager config
|
||||
services.xserver = {
|
||||
enable = true;
|
||||
displayManager.sddm.enable = true;
|
||||
desktopManager.plasma5.enable = true;
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
|
||||
sound.enable = true;
|
||||
hardware.pulseaudio.enable = true;
|
||||
|
||||
# Additional services
|
||||
services.syncthing.enable = true;
|
||||
services.flatpak.enable = true;
|
||||
xdg.portal.enable = true;
|
||||
|
||||
# Input config
|
||||
services.xserver = {
|
||||
synaptics.tapButtons = false;
|
||||
libinput.enable = true;
|
||||
};
|
||||
|
||||
}
|
35
common/gui/pkgs.nix
Normal file
35
common/gui/pkgs.nix
Normal file
|
@ -0,0 +1,35 @@
|
|||
{ pkgs, ...}:
|
||||
|
||||
{
|
||||
environment = {
|
||||
systemPackages = with pkgs; [
|
||||
# Internet
|
||||
firefox
|
||||
keepassxc
|
||||
riot-desktop
|
||||
syncthing
|
||||
qsyncthingtray
|
||||
|
||||
# Wire(less) internet support
|
||||
dnsmasq
|
||||
hostapd
|
||||
iw
|
||||
plasma-nm
|
||||
|
||||
# KDE plasma and applications
|
||||
kate
|
||||
latte-dock # My PC has enough RAM by now
|
||||
kleopatra
|
||||
networkmanager
|
||||
okular
|
||||
plasma-desktop
|
||||
plasma-integration
|
||||
sddm
|
||||
# To show of your distro
|
||||
neofetch
|
||||
|
||||
# Communication
|
||||
tdesktop
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue