dropbox
This commit is contained in:
@@ -80,9 +80,6 @@
|
|||||||
|
|
||||||
gnome.nautilus
|
gnome.nautilus
|
||||||
lxqt.lxqt-policykit # provides a default authentication client for policykit
|
lxqt.lxqt-policykit # provides a default authentication client for policykit
|
||||||
|
|
||||||
#libsForQt5.dolphin
|
|
||||||
#libsForQt5.kdegraphics
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Enable zsh for setting it as shell for users.
|
# Enable zsh for setting it as shell for users.
|
||||||
|
|||||||
@@ -5,8 +5,9 @@
|
|||||||
- Install?
|
- Install?
|
||||||
- Vaults einrichten in home/programs/neovim/lua/plugins/obsidian.lua
|
- Vaults einrichten in home/programs/neovim/lua/plugins/obsidian.lua
|
||||||
- IJB
|
- IJB
|
||||||
- COe
|
|
||||||
- Privat (evntl. für Rubik's Cube)
|
- Privat (evntl. für Rubik's Cube)
|
||||||
|
- COe nicht?
|
||||||
|
- Only open if vault.
|
||||||
|
|
||||||
## Sddm
|
## Sddm
|
||||||
|
|
||||||
@@ -172,3 +173,7 @@
|
|||||||
## git
|
## git
|
||||||
|
|
||||||
- Packete signieren für github
|
- Packete signieren für github
|
||||||
|
|
||||||
|
## Nautilus
|
||||||
|
|
||||||
|
- Thumbnailer
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
./alacritty
|
./alacritty
|
||||||
|
./dropbox
|
||||||
./neovim
|
./neovim
|
||||||
./git.nix
|
./git.nix
|
||||||
./wallpaper.nix
|
./wallpaper.nix
|
||||||
|
|||||||
35
home/programs/dropbox/default.nix
Normal file
35
home/programs/dropbox/default.nix
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
environment.systemPackages = with pkgs;
|
||||||
|
[
|
||||||
|
# dropbox - we don't need this in the environment. systemd unit pulls it in
|
||||||
|
dropbox-cli
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.firewall = {
|
||||||
|
allowedTCPPorts = [ 17500 ];
|
||||||
|
allowedUDPPorts = [ 17500 ];
|
||||||
|
};
|
||||||
|
|
||||||
|
systemd.user.services.dropbox = {
|
||||||
|
description = "Dropbox";
|
||||||
|
wantedBy = [ "graphical-session.target" ];
|
||||||
|
environment = {
|
||||||
|
QT_PLUGIN_PATH = "/run/current-system/sw/"
|
||||||
|
+ pkgs.qt5.qtbase.qtPluginPrefix;
|
||||||
|
QML2_IMPORT_PATH = "/run/current-system/sw/"
|
||||||
|
+ pkgs.qt5.qtbase.qtQmlPrefix;
|
||||||
|
};
|
||||||
|
serviceConfig = {
|
||||||
|
ExecStart = "${lib.getBin pkgs.dropbox}/bin/dropbox";
|
||||||
|
ExecReload = "${lib.getBin pkgs.coreutils}/bin/kill -HUP $MAINPID";
|
||||||
|
KillMode = "control-group"; # upstream recommends process
|
||||||
|
Restart = "on-failure";
|
||||||
|
PrivateTmp = true;
|
||||||
|
ProtectSystem = "full";
|
||||||
|
Nice = 10;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
||||||
@@ -2,7 +2,10 @@ return {
|
|||||||
{
|
{
|
||||||
"epwalsh/obsidian.nvim",
|
"epwalsh/obsidian.nvim",
|
||||||
lazy = true,
|
lazy = true,
|
||||||
ft = "markdown",
|
event = {
|
||||||
|
"BufReadPre home/elias/dropbox/",
|
||||||
|
"BufNewFile home/elias/dropbox/",
|
||||||
|
},
|
||||||
dependencies = {
|
dependencies = {
|
||||||
"nvim-lua/plenary.nvim",
|
"nvim-lua/plenary.nvim",
|
||||||
"hrsh7th/nvim-cmp",
|
"hrsh7th/nvim-cmp",
|
||||||
|
|||||||
Reference in New Issue
Block a user