blob: 12cb4004009cea2b01da01c9dd8ba523ba70a5a6 (
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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
|
{ config, pkgs, lib, ... }:
let
cfg = config.vuizvui.user.devhell.profiles.services;
in {
options.vuizvui.user.devhell.profiles.services = {
enable = lib.mkEnableOption "Services profile for devhell";
};
config = lib.mkIf cfg.enable {
virtualisation = {
virtualbox = {
host = {
enable = false;
enableHardening = false;
};
};
libvirtd = {
enable = true;
qemuPackage = pkgs.qemu_kvm;
};
podman.enable = true;
};
location.provider = "geoclue2";
services = {
pcscd.enable = true;
gpm.enable = true;
openssh.enable = true;
udisks2.enable = true;
geoip-updater.enable = true;
geoclue2.enable = true;
redshift.enable = true;
haveged.enable = true;
picom = {
enable = true;
vSync = true;
backend = "glx";
experimentalBackends = true;
fade = true;
fadeDelta = 1;
shadow = true;
settings = {
inactive-dim = 0.2;
unredir-if-possible = false;
};
};
};
services.xserver = {
displayManager.defaultSession = "none+i3";
displayManager.lightdm = {
enable = true;
greeters.mini = {
enable = true;
user = "dev";
extraConfig = ''
[greeter]
show-password-label = true
password-label-text = ❯
show-input-cursor = false
[greeter-theme]
border-color = "#3B4252"
text-color = "#4C566A"
window-color = "#3B4252"
layout-space = 5
password-background-color = "#3B4252"
border-width = 0px
password-border-width = 0px
'';
};
};
};
services.xserver.windowManager.i3 = {
enable = true;
package = pkgs.i3-gaps;
extraPackages = with pkgs; [
polybar multilockscreen rofi i3-auto-layout
];
};
services.journald.extraConfig = ''
SystemMaxUse = 50M
'';
services.mpd = {
enable = true;
startWhenNeeded = true;
extraConfig = ''
input {
plugin "curl"
}
audio_output {
type "fifo"
name "FIFO Output"
path "/tmp/mpd.fifo"
format "44100:16:2"
}
audio_output {
type "pulse"
name "Pulse Output"
}
replaygain "album"
'';
};
};
}
|