blob: b02dc017d04ec1ebc6bc65c093453c16f6f0719a (
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
|
{ config, pkgs, lib, ... }:
{
services.xserver = {
enable = true;
layout = "us";
xkbOptions = "eurosign:e,ctrl:swapcaps";
libinput.enable = true;
desktopManager = {
xterm.enable = false;
};
displayManager = {
lightdm.enable = true;
defaultSession = "none+i3";
};
windowManager = {
i3.enable = true;
};
};
services = {
dbus.packages = [ pkgs.gcr ];
gnome.gnome-keyring.enable = true;
gvfs.enable = true;
};
environment = {
# Activate home-manager environment, if not already enabled
loginShellInit = ''
[ -d "$HOME/.nix-profile" ] || /nix/var/nix/profiles/per-user/$USER/home-manager/activate &> /dev/null
'';
homeBinInPath = true;
localBinInPath = true;
};
}
|