nixos/common/desktop.nix

76 lines
1.4 KiB
Nix
Raw Normal View History

2021-11-22 15:12:19 +01:00
# 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).
{ config, pkgs, ... }:
{
2021-11-23 22:17:41 +01:00
imports = [
./common.nix
];
2021-11-22 15:12:19 +01:00
2021-11-23 20:51:25 +01:00
networking = {
networkmanager.enable = true;
};
services = {
autorandr.enable = true;
printing.enable = true;
};
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;
lockerCommand = "i3lock -c 000000";
};
2021-11-22 15:12:19 +01:00
environment.variables = {
ZWEILI_ENVIRONMENT = "desktop";
};
2021-11-22 15:12:19 +01:00
environment.systemPackages = with pkgs; [
arc-theme
celluloid
firefox
2021-11-23 21:09:31 +01:00
gimp
i3lock
2021-11-23 21:09:31 +01:00
inkscape
2021-11-23 20:36:13 +01:00
libreoffice-fresh
2021-11-22 17:13:29 +01:00
lxappearance
2021-11-22 15:12:19 +01:00
nitrogen
2021-11-22 17:32:50 +01:00
pavucontrol
2021-11-22 15:12:19 +01:00
rofi
2021-11-22 16:24:58 +01:00
source-code-pro
2021-11-22 15:12:19 +01:00
terminator
];
}