Added printing and bluetooth support

This commit is contained in:
Chris Josten 2020-05-27 22:21:35 +02:00
parent f5bdc596ac
commit df825e3f4c
6 changed files with 22 additions and 3 deletions

View file

@ -6,4 +6,5 @@
]; ];
nixpkgs.config.allowUnfree = true; nixpkgs.config.allowUnfree = true;
services.openssh.enable = true; services.openssh.enable = true;
environment.variables.EDITOR = "nvim";
} }

View file

@ -11,10 +11,12 @@
gcc gcc
cmake cmake
gnumake gnumake
llvmPackages.bintools
ninja ninja
pkgconfig pkgconfig
qtcreator qtcreator
qt5.full qt5.full
zlib
# Java # Java
gradle gradle

View file

@ -1,5 +1,5 @@
# Defines comfig for a "gui" system, in most cases a Desktop or Laptop # Defines comfig for a "gui" system, in most cases a Desktop or Laptop
{ config, ... }: { config, pkgs, ... }:
{ {
imports = [ ./pkgs.nix ]; imports = [ ./pkgs.nix ];
@ -37,4 +37,10 @@
services.syncthing.user = "chris"; services.syncthing.user = "chris";
services.syncthing.configDir = "/home/chris/.config/syncthing"; services.syncthing.configDir = "/home/chris/.config/syncthing";
services.syncthing.dataDir = "/home/chris"; services.syncthing.dataDir = "/home/chris";
# Printing
services.printing.enable = true;
services.printing.drivers = [ pkgs.gutenprint ];
services.avahi.enable = true;
services.avahi.nssmdns = true;
} }

View file

@ -40,18 +40,25 @@
latte-dock # My PC has enough RAM by now latte-dock # My PC has enough RAM by now
kdeApplications.kleopatra kdeApplications.kleopatra
kdeApplications.korganizer kdeApplications.korganizer
kdeFrameworks.qqc2-desktop-style # Makes QtQuick applications look like desktop ones
okular okular
packagekit packagekit
packagekit-qt packagekit-qt
plasma-desktop plasma-desktop
plasma-integration plasma-integration
# plasma5
plasma5.polkit-kde-agent
plasma5.powerdevil
plasma5.sddm-kcm plasma5.sddm-kcm
plasma5.user-manager
plasma5.xdg-desktop-portal-kde plasma5.xdg-desktop-portal-kde
my.plasma-applet-window-buttons my.plasma-applet-window-buttons
my.sddm-nx my.sddm-nx
sddm sddm
kdeApplications.spectacle kdeApplications.spectacle
cantata
# To show of your distro # To show of your distro
neofetch neofetch

View file

@ -9,7 +9,7 @@ rec {
latte-dock = super.latte-dock.overrideAttrs (oldAttrs: rec{ latte-dock = super.latte-dock.overrideAttrs (oldAttrs: rec{
src = fetchGit { src = fetchGit {
url = https://invent.kde.org/plasma/latte-dock.git; url = https://invent.kde.org/plasma/latte-dock.git;
rev = "3c73bff0ac983625f31ec2ed9bc388221e778e75"; rev = "84a5eecf7903a53ef914576c24cdbb31e7be09d7";
}; };
}); });
} }

View file

@ -1,4 +1,4 @@
{config, ...}: {config, pkgs, ...}:
{ {
imports = [ imports = [
@ -10,4 +10,7 @@
]; ];
networking.hostName = "nix-te-vinden"; networking.hostName = "nix-te-vinden";
hardware.bluetooth.enable = true;
hardware.bluetooth.package = pkgs.bluezFull;
hardware.pulseaudio.package = pkgs.pulseaudioFull;
} }