NixOS system configurations + dotfiles via home-manager
1{ config, lib, ... }:
2{
3 flake.modules.nixos.desktop = {
4 services.displayManager.ly.enable = true;
5 # defaults to true when display manager is enabled (graphical-desktop.nix)
6 services.speechd.enable = false;
7
8 services.openssh.settings.AcceptEnv = [
9 "TERMINFO"
10 "COLORTERM"
11 ];
12
13 xdg.icons.enable = true;
14 xdg.mime.enable = true;
15 xdg.sounds.enable = true;
16 xdg.autostart.enable = lib.mkForce false;
17
18 console.colors =
19 with config.local.colors;
20 map (builtins.substring 1 (-1)) [
21 black
22 red
23 green
24 yellow
25 blue
26 magenta
27 cyan
28 white
29 brightBlack
30 brightRed
31 brightGreen
32 brightYellow
33 brightBlue
34 brightMagenta
35 brightCyan
36 brightWhite
37 ];
38 };
39}