nixos/modules/desktop/default.nix

73 lines
1.5 KiB
Nix
Raw Normal View History

2022-02-21 11:36:12 +01:00
{ inputs, custom, pkgs, ... }:
2021-11-22 15:12:19 +01:00
{
2022-06-27 18:53:24 +02:00
imports = [
"${inputs.self}/modules/nix-alien"
2022-08-29 22:10:25 +02:00
"${inputs.self}/modules/libimobiledevice"
2022-06-27 18:53:24 +02: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;
picom = {
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;
2022-01-17 10:14:07 +01:00
useGlamor = 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;
2022-08-21 14:23:40 +02:00
hardware.pulseaudio.enable = true;
2021-11-22 15:12:19 +01:00
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
2022-08-17 19:13:21 +02:00
freac
2021-12-22 18:27:26 +01:00
lm_sensors
lxappearance
gnome.nautilus
gnome.gnome-screenshot
2021-12-22 18:27:26 +01:00
networkmanager-openvpn
nitrogen
pavucontrol
2022-08-27 15:11:05 +02:00
plexamp
2022-08-15 15:25:56 +02:00
quickemu
2021-12-22 18:27:26 +01:00
rofi
source-code-pro
terminator
2021-11-22 15:12:19 +01:00
];
2022-01-31 11:28:16 +01:00
environment.shellAliases = {
2022-06-20 19:09:04 +02:00
management-server = "mosh ${custom.username}@10.7.89.150 -- tmux new -A -s 0";
2022-01-31 11:28:16 +01:00
};
2021-11-22 15:12:19 +01:00
}