From b356f392f3cb86c7bb7def79e62c75fd3001ef9a Mon Sep 17 00:00:00 2001 From: Adithya Nair Date: Fri, 7 Apr 2023 19:53:00 +0530 Subject: [PATCH] move packages --- system/default.nix | 19 +++++++++++++++---- system/packages.nix | 13 ------------- 2 files changed, 15 insertions(+), 17 deletions(-) diff --git a/system/default.nix b/system/default.nix index 9657b3b..fbeebdd 100644 --- a/system/default.nix +++ b/system/default.nix @@ -9,12 +9,26 @@ ./virtualisation.nix ]; + boot.cleanTmpDir = true; console.useXkbConfig = true; environment.sessionVariables = { NIXOS_OZONE_WL = "1"; }; + fonts = { + enableDefaultFonts = true; + fontDir.enable = true; + fonts = with pkgs; [ + cantarell-fonts + liberation_ttf + (nerdfonts.override { fonts = [ "FiraCode" ]; }) + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + ]; + }; + i18n = { defaultLocale = "en_US.UTF-8"; extraLocaleSettings = { @@ -82,14 +96,11 @@ }; sound.enable = true; - time.timeZone = "Asia/Kolkata"; - xdg = { - portal = { + xdg.portal = { enable = true; extraPortals = with pkgs; [ xdg-desktop-portal-gtk xdg-desktop-portal-hyprland ]; - }; }; system.stateVersion = "23.05"; diff --git a/system/packages.nix b/system/packages.nix index 3c75950..92391ce 100644 --- a/system/packages.nix +++ b/system/packages.nix @@ -1,18 +1,5 @@ { pkgs, ... }: { - fonts = { - enableDefaultFonts = true; - fontDir.enable = true; - fonts = with pkgs; [ - cantarell-fonts - liberation_ttf - (nerdfonts.override { fonts = [ "FiraCode" ]; }) - noto-fonts - noto-fonts-cjk - noto-fonts-emoji - ]; - }; - hardware.gpgSmartcards.enable = true; programs = { dconf.enable = true; git.enable = true;