blob: 66cb4f98f673a268d5a3500689c24edcab4feb6e (
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 ];
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" ]; };
};
}
|