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;
services.openssh.enable = true;
environment.variables.EDITOR = "nvim";
}

View file

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

View file

@ -1,5 +1,5 @@
# Defines comfig for a "gui" system, in most cases a Desktop or Laptop
{ config, ... }:
{ config, pkgs, ... }:
{
imports = [ ./pkgs.nix ];
@ -37,4 +37,10 @@
services.syncthing.user = "chris";
services.syncthing.configDir = "/home/chris/.config/syncthing";
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,17 +40,24 @@
latte-dock # My PC has enough RAM by now
kdeApplications.kleopatra
kdeApplications.korganizer
kdeFrameworks.qqc2-desktop-style # Makes QtQuick applications look like desktop ones
okular
packagekit
packagekit-qt
plasma-desktop
plasma-integration
# plasma5
plasma5.polkit-kde-agent
plasma5.powerdevil
plasma5.sddm-kcm
plasma5.user-manager
plasma5.xdg-desktop-portal-kde
my.plasma-applet-window-buttons
my.sddm-nx
sddm
kdeApplications.spectacle
cantata
# To show of your distro
neofetch

View file

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

View file

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