This commit is contained in:
Tim Schubert 2020-10-17 13:05:15 +02:00
parent b7f69df3cb
commit 57e3cda074
No known key found for this signature in database
GPG key ID: 99658A3EB5CD7C13
3 changed files with 21 additions and 27 deletions

View file

@ -6,25 +6,24 @@ let
MAILDIR = "\$HOME/.var/mail";
MBLAZE = "\$HOME/.config/mblaze";
NOTMUCH_CONFIG = "\$HOME/.config/notmuch/config";
#GDK_BACKEND= "x11";
MOZ_ENABLE_WAYLAND= "1";
};
unstable = import <nixpkgs-unstable> {};
colors = import ./colors.nix;
in
{
in {
imports = [
./direnv.nix
./vim
./tmux.nix
./zsh.nix
./gpg.nix
./ssh.nix
./git.nix
./gtk.nix
./xdg.nix
./keyring.nix
./kitty.nix
../direnv.nix
../vim
../tmux.nix
../zsh.nix
../gpg.nix
../ssh.nix
../git.nix
../gtk.nix
../xdg.nix
../keyring.nix
../kitty.nix
../syncthing.nix
];
# Let Home Manager install and manage itself.
@ -33,7 +32,6 @@ in
home.sessionVariables = userEnv;
systemd.user.sessionVariables = userEnv;
home.packages = with pkgs; [
anki
aspell
@ -110,17 +108,6 @@ in
youtube-dl
]);
services.syncthing = {
enable = true;
tray = false;
};
services.screen-locker = {
enable = false;
inactiveInterval = 5;
lockCmd = "~/bin/lock-session";
};
# This value determines the Home Manager release that your
# configuration is compatible with. This helps avoid breakage
# when a new Home Manager release introduces backwards

7
modules/syncthing.nix Normal file
View file

@ -0,0 +1,7 @@
{ config, pkgs, lib, ... }:
{
services.syncthing = {
enable = true;
tray = false;
};
}