sternchen: add packages and stuff

This commit is contained in:
Ingolf Wagner 2021-03-10 19:27:43 +01:00
parent 6c231638a0
commit 4dc9aa3b7f
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
8 changed files with 15 additions and 72 deletions

View file

@ -6,7 +6,7 @@
./hardware-configuration.nix ./hardware-configuration.nix
./packages.nix ./packages.nix
#./syncthing.nix ./syncthing.nix
./tinc.nix ./tinc.nix
]; ];
@ -49,6 +49,7 @@
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
extraPackages = [ pkgs.vaapiIntel ]; extraPackages = [ pkgs.vaapiIntel ];
driSupoort = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };
nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {
@ -59,6 +60,7 @@
services.xserver.desktopManager.pantheon.enable = true; services.xserver.desktopManager.pantheon.enable = true;
services.xserver.desktopManager.plasma5.enable = true; services.xserver.desktopManager.plasma5.enable = true;
services.xserver.desktopManager.xfce.enable = true; services.xserver.desktopManager.xfce.enable = true;
services.xserver.desktopManager.gnome3.enable = false;
# stuff # stuff
# ----- # -----

View file

@ -16,6 +16,7 @@ in {
firefox firefox
google-chrome google-chrome
tor-browser-bundle-bin tor-browser-bundle-bin
#(tor-browser-bundle-bin.overrideAttrs (old: { #(tor-browser-bundle-bin.overrideAttrs (old: {
# #version = "10.0.13"; # #version = "10.0.13";
# src = pkgs.fetchurl { # src = pkgs.fetchurl {

View file

@ -1,77 +1,12 @@
{ config, pkgs, lib, ... }: { { config, pkgs, lib, ... }: {
services.syncthing = { services.syncthing = {
guiAddress = "localhost:8384";
enable = true; enable = true;
openDefaultPorts = false; openDefaultPorts = true;
user = "palo"; user = "tina";
dataDir = "/home/palo/.syncthing"; dataDir = "/home/tina/.syncthing";
configDir = "/home/palo/.syncthing"; configDir = "/home/tina/.syncthing";
declarative = {
cert = toString <secrets/syncthing/cert.pem>;
key = toString <secrets/syncthing/key.pem>;
overrideFolders = true;
folders = {
# on encrypted drive
# ------------------
private = {
enable = true;
path = "/home/palo/private";
};
desktop = {
enable = true;
path = "/home/palo/desktop";
};
finance = {
enable = true;
path = "/home/palo/finance";
};
fotos = {
enable = true;
path = "/home/palo/fotos";
};
samples = {
enable = true;
path = "/home/palo/samples";
};
zettlr = {
enable = true;
path = "/home/palo/zettlr";
};
programs = {
enable = true;
path = "/home/palo/programs";
}; };
# no need to be encrypted
# -----------------------
books = {
enable = true;
path = "/home/palo/books";
};
music-library = {
enable = true;
path = "/home/palo/music-library";
};
music-projects = {
enable = true;
path = "/home/palo/music-projects";
};
smartphone-folder = {
enable = true;
path = "/home/palo/smartphone-folder";
};
processing = {
enable = true;
path = "/home/palo/sketchbook";
};
};
};
};
system.permown."/home/palo/music-library" = {
owner = "palo";
group = "users";
};
} }

View file

@ -72,6 +72,7 @@
hardware.opengl = { hardware.opengl = {
enable = true; enable = true;
extraPackages = [ pkgs.vaapiIntel ]; extraPackages = [ pkgs.vaapiIntel ];
driSupport = true;
driSupport32Bit = true; driSupport32Bit = true;
}; };
nixpkgs.config.packageOverrides = pkgs: { nixpkgs.config.packageOverrides = pkgs: {

View file

@ -7,6 +7,8 @@ in {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
tor-browser-bundle-bin
# bluetooth gui # bluetooth gui
blueberry blueberry

View file

@ -2,7 +2,7 @@
with lib; { with lib; {
services.syncthing = { services.syncthing = {
guiAddress = "${config.networking.hostName}.private:8384"; guiAddress = lib.mkDefault "${config.networking.hostName}.private:8384";
declarative = { declarative = {
overrideDevices = true; overrideDevices = true;
devices = let devices = let

View file

@ -394,6 +394,7 @@ myManageHook :: Query (Endo WindowSet)
myManageHook = myManageHook =
composeAll composeAll
[ className =? "Gimp" --> doFloat [ className =? "Gimp" --> doFloat
, className =? "zettlr" --> doFloat
, title =? "fzfmenu" --> doCenterFloat , title =? "fzfmenu" --> doCenterFloat
, resource =? "copyq" --> doShift "-copyq" , resource =? "copyq" --> doShift "-copyq"
, scratchpadManageHook , scratchpadManageHook

View file

@ -153,6 +153,7 @@ in {
in [ in [
zettlr zettlr
zim
weight weight