2022-11-04 19:35:57 +01:00
|
|
|
{ custom }: { pkgs, ... }:
|
2021-11-22 15:12:19 +01:00
|
|
|
{
|
2022-06-27 18:53:24 +02:00
|
|
|
imports = [
|
2022-11-08 09:01:48 +01:00
|
|
|
(import "${custom.inputs.self}/modules/docker" { inherit custom; })
|
|
|
|
(import "${custom.inputs.self}/modules/droidcam" { inherit custom; })
|
|
|
|
(import "${custom.inputs.self}/modules/email" { inherit custom; })
|
|
|
|
(import "${custom.inputs.self}/modules/eog" { inherit custom; })
|
|
|
|
(import "${custom.inputs.self}/modules/espanso" { inherit custom; })
|
2022-11-04 19:35:57 +01:00
|
|
|
"${custom.inputs.self}/modules/hunspell"
|
|
|
|
(import "${custom.inputs.self}/modules/libimobiledevice" { inherit custom; })
|
2022-11-08 09:01:48 +01:00
|
|
|
(import "${custom.inputs.self}/modules/nix-direnv" { inherit custom; })
|
|
|
|
(import "${custom.inputs.self}/modules/pipewire" { inherit custom; })
|
|
|
|
"${custom.inputs.self}/modules/scripts"
|
|
|
|
"${custom.inputs.self}/modules/tmux"
|
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;
|
2022-01-16 18:34:51 +01:00
|
|
|
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;
|
|
|
|
|
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
|
2021-12-26 14:12:17 +01:00
|
|
|
appimage-run
|
2021-12-05 20:54:50 +01:00
|
|
|
brightnessctl
|
2021-12-22 18:27:26 +01:00
|
|
|
lm_sensors
|
|
|
|
lxappearance
|
|
|
|
gnome.nautilus
|
2021-12-26 14:12:17 +01:00
|
|
|
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
|
2021-12-26 14:12:17 +01:00
|
|
|
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
|
|
|
}
|
|
|
|
|