diff options
author | Kjetil Orbekk <kj@orbekk.com> | 2021-07-05 18:19:17 -0400 |
---|---|---|
committer | Kjetil Orbekk <kj@orbekk.com> | 2021-07-05 18:19:17 -0400 |
commit | b71560b1ecb4a89acb1417e654e9a74b90337fdc (patch) | |
tree | dac826b7ead386cd9448a4de9d748c3b3c7bcd29 | |
parent | 2888518fb5cb2b79529665756b4bda8d95fbcf5f (diff) |
config
-rw-r--r-- | modules/desktop.nix | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/modules/desktop.nix b/modules/desktop.nix index 6fcc3de..d912a69 100644 --- a/modules/desktop.nix +++ b/modules/desktop.nix @@ -1,8 +1,6 @@ { config, lib, pkgs, ... }: -let - cfg = config.orbekk.desktop; -in -{ +let cfg = config.orbekk.desktop; +in { options = { orbekk.desktop = { enable = lib.mkEnableOption "Enable standard desktop config"; @@ -44,7 +42,12 @@ in fonts = { enableDefaultFonts = true; - fonts = with pkgs; [ fira-code dejavu_fonts steamPackages.steam-fonts wqy_microhei ]; + fonts = with pkgs; [ + fira-code + dejavu_fonts + steamPackages.steam-fonts + wqy_microhei + ]; fontconfig = { defaultFonts = { sansSerif = [ "Noto Sans" "WenQuanYi Micro Hei" ]; @@ -62,7 +65,7 @@ in chromium discord dmenu - dzen2 + dzen2 emacs ffmpeg firefox-bin @@ -75,6 +78,7 @@ in networkmanagerapplet nix-index nixfmt + shfmt pavucontrol rofi rxvt_unicode-with-plugins @@ -88,14 +92,14 @@ in xorg.xbacklight xorg.xev xscreensaver - xsel # used by urxvt clipboard + xsel # used by urxvt clipboard xss-lock dunst ]; i18n.inputMethod = { enabled = "fcitx"; - fcitx.engines = with pkgs.fcitx-engines; [cloudpinyin]; + fcitx.engines = with pkgs.fcitx-engines; [ cloudpinyin ]; }; services = { @@ -122,7 +126,7 @@ in redshift = { enable = true; - extraOptions = ["-r"]; + extraOptions = [ "-r" ]; }; }; }; |