summaryrefslogblamecommitdiff
path: root/nixpkgs/lindy.nix
blob: 61bec7b778ed849e5c811952b47ea5653e25851a (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11
                
                                          
 

                                               





                                   










                                                                 

 
{ 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" ]; };
  };
}