nixos/modules/desktop.nix

80 lines
1.5 KiB
Nix
Raw Normal View History

2021-12-28 23:05:17 +01:00
{ pkgs, ... }:
2021-11-22 15:12:19 +01:00
{
2021-11-23 22:17:41 +01:00
imports = [
2021-11-24 09:46:16 +01:00
./common.nix
2021-11-26 18:10:20 +01:00
./docker.nix
2021-12-22 17:14:21 +01:00
./restic
./droidcam
2021-12-24 10:44:33 +01:00
./xonsh
2021-11-23 22:17:41 +01:00
];
2021-11-22 15:12:19 +01:00
2021-11-23 20:51:25 +01:00
networking = {
networkmanager.enable = true;
};
services = {
2021-11-30 19:17:12 +01:00
gvfs.enable = true;
2021-11-23 20:51:25 +01:00
printing.enable = true;
2021-11-27 16:53:22 +01:00
redshift = {
enable = true;
};
2021-11-28 12:06:58 +01:00
fwupd.enable = true;
2021-11-23 20:51:25 +01:00
};
2021-11-22 15:12:19 +01:00
# Enable the X11 windowing system.
2021-11-23 20:51:25 +01:00
services.xserver = {
enable = true;
displayManager.lightdm.enable = true;
displayManager.defaultSession = "none+qtile";
windowManager.qtile.enable = true;
layout = "us";
xkbOptions = "compose:ralt";
libinput.enable = true;
2021-11-22 15:12:19 +01:00
};
2021-11-22 16:30:00 +01:00
fonts.fonts = with pkgs; [
source-code-pro
];
2021-11-22 15:12:19 +01:00
# Enable keyring
security.pam.services.lightdm.enableGnomeKeyring = true;
services.gnome.gnome-keyring.enable = true;
# Enable sound.
sound.enable = true;
hardware.pulseaudio.enable = true;
# enable steam
programs.steam.enable = true;
hardware.steam-hardware.enable = true;
# enable lockscreen
programs.xss-lock = {
enable = true;
2021-12-28 11:56:40 +01:00
lockerCommand = "${pkgs.i3lock}/bin/i3lock -c 000000";
};
2021-12-02 16:53:21 +01:00
# Enable dconf to be able to save Nautilus settings
programs.dconf.enable = true;
2021-11-22 15:12:19 +01:00
environment.systemPackages = with pkgs; [
2021-12-22 18:27:26 +01:00
# what I consider to be system packages
appimage-run
2021-12-05 20:54:50 +01:00
brightnessctl
2021-12-22 18:27:26 +01:00
i3lock
lm_sensors
lxappearance
gnome.eog
gnome.nautilus
gnome.gnome-screenshot
2021-12-22 18:27:26 +01:00
networkmanager-openvpn
nitrogen
pavucontrol
rofi
source-code-pro
terminator
2021-11-22 15:12:19 +01:00
];
}