summaryrefslogtreecommitdiff
path: root/nixpkgs/lindy.nix
blob: 61bec7b778ed849e5c811952b47ea5653e25851a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, ... }: {
  imports = [ ./common.nix ./wmonly.nix ];

  home.homeDirectory = "/home/lx";
  xdg.userDirs.download = "/home/lx/Downloads";

  programs.keychain = {
    enable = true;
    enableBashIntegration = true;
    keys = [ "~/.ssh/id_ed25519" ];
  };

  # scream listener for virtual machine
  systemd.user.services."scream-listener" = {
    Unit = { Description = "Scream listener"; };
    Service = {
      ExecStart = "${pkgs.scream}/bin/scream -o pulse -i virbr0";
      RestartSec = 10;
      Restart = "always";
    };
    Install = { WantedBy = [ "default.target" ]; };
  };
}