nix-config/common.nix
2020-05-14 10:52:41 +02:00

44 lines
809 B
Nix

{ config, pkgs, ... }:
let
colors = import ./colors.nix;
in {
imports = [
./vim
./tmux.nix
./zsh.nix
(import ./termite.nix {
config = config;
pkgs = pkgs;
colors = colors;
})
./gpg.nix
./ssh.nix
./git.nix
./gtk.nix
./xdg.nix
(import ./mako.nix {
config = config;
pkgs = pkgs;
colors = colors;
})
];
systemd.user.services = {
auto-source-volume = {
Unit = {
Description = "Revert setting volume of microphone";
Documentation = [ "man(1)pacmd" ];
BindsTo = "pulseaudio.service";
};
Service = {
ExecStart = "/bin/sh %h/bin/auto-source-volume.sh";
Type = "simple";
};
Install = {
WantedBy = [ "default.target" ];
};
};
};
}