sternchen: add packages and stuff
This commit is contained in:
parent
6c231638a0
commit
4dc9aa3b7f
8 changed files with 15 additions and 72 deletions
|
@ -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
|
||||
# -----
|
||||
|
|
|
@ -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 {
|
||||
|
|
|
@ -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";
|
||||
openDefaultPorts = true;
|
||||
user = "tina";
|
||||
dataDir = "/home/tina/.syncthing";
|
||||
configDir = "/home/tina/.syncthing";
|
||||
};
|
||||
|
||||
# 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";
|
||||
};
|
||||
}
|
||||
|
|
|
@ -72,6 +72,7 @@
|
|||
hardware.opengl = {
|
||||
enable = true;
|
||||
extraPackages = [ pkgs.vaapiIntel ];
|
||||
driSupport = true;
|
||||
driSupport32Bit = true;
|
||||
};
|
||||
nixpkgs.config.packageOverrides = pkgs: {
|
||||
|
|
|
@ -7,6 +7,8 @@ in {
|
|||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
||||
tor-browser-bundle-bin
|
||||
|
||||
# bluetooth gui
|
||||
blueberry
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -394,6 +394,7 @@ myManageHook :: Query (Endo WindowSet)
|
|||
myManageHook =
|
||||
composeAll
|
||||
[ className =? "Gimp" --> doFloat
|
||||
, className =? "zettlr" --> doFloat
|
||||
, title =? "fzfmenu" --> doCenterFloat
|
||||
, resource =? "copyq" --> doShift "-copyq"
|
||||
, scratchpadManageHook
|
||||
|
|
|
@ -153,6 +153,7 @@ in {
|
|||
in [
|
||||
|
||||
zettlr
|
||||
zim
|
||||
|
||||
weight
|
||||
|
||||
|
|
Loading…
Reference in a new issue