blob: 02947e1846071be4126b69ae878bf823fd3bb23c (
plain)
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
|
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running ‘nixos-help’).
{ pkgs, ... }:
{
services.pipewire = {
enable = true;
alsa.enable = true;
alsa.support32Bit = true;
pulse.enable = true;
};
services.displayManager.defaultSession = "none+i3";
services.displayManager.autoLogin.enable = true;
services.displayManager.autoLogin.user = "jras";
services.xserver = {
enable = true;
videoDrivers = ["nvidia"];
windowManager.i3 = { enable = true;
extraPackages = with pkgs; [
dmenu
i3status
i3lock
i3blocks
];
};
xkb = {
layout = "us";
variant = "intl";
};
};
location.latitude = 52.49931951214914;
location.longitude = 4.816707180055415;
services.redshift = {
enable = true;
temperature = {
day = 5500;
night = 4500;
};
brightness = {
day = "0.8";
night = "0.7";
};
};
}
|