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

View file

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

View file

@ -1,77 +1,12 @@
{ config, pkgs, lib, ... }: {
services.syncthing = {
guiAddress = "localhost:8384";
enable = true;
openDefaultPorts = false;
user = "palo";
dataDir = "/home/palo/.syncthing";
configDir = "/home/palo/.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";
};
};
};
openDefaultPorts = true;
user = "tina";
dataDir = "/home/tina/.syncthing";
configDir = "/home/tina/.syncthing";
};
system.permown."/home/palo/music-library" = {
owner = "palo";
group = "users";
};
}

View file

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

View file

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

View file

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

View file

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

View file

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