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