Cleanup
This commit is contained in:
parent
b7f69df3cb
commit
57e3cda074
3 changed files with 21 additions and 27 deletions
|
@ -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
7
modules/syncthing.nix
Normal file
|
@ -0,0 +1,7 @@
|
|||
{ config, pkgs, lib, ... }:
|
||||
{
|
||||
services.syncthing = {
|
||||
enable = true;
|
||||
tray = false;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue