diff options
| author | spl3g <spleefer6@yandex.ru> | 2024-01-23 23:43:25 +0300 |
|---|---|---|
| committer | spl3g <spleefer6@yandex.ru> | 2025-05-01 14:56:39 +0300 |
| commit | f3e74cc8ef6fb944cd6e203ca25ea2cea65b778c (patch) | |
| tree | a1eecf72bb065c919eb8a23f9f03723b0f588ccb /nixos/general.nix | |
| parent | 0391e12ffbf18edba79e76a299f7f84cabbe762b (diff) | |
clean up
Diffstat (limited to 'nixos/general.nix')
| -rw-r--r-- | nixos/general.nix | 55 |
1 files changed, 47 insertions, 8 deletions
diff --git a/nixos/general.nix b/nixos/general.nix index 6eb11ff..73d884f 100644 --- a/nixos/general.nix +++ b/nixos/general.nix @@ -1,18 +1,18 @@ -{ inputs, outputs, lib, config, pkgs, ... }: { +{ inputs, outputs, lib, config, pkgs, ... }: + +{ nixpkgs = { overlays = [ outputs.overlays.additions outputs.overlays.modifications outputs.overlays.unstable-packages outputs.overlays.emacs-overlay - - # You can also add overlays exported from other flakes: - # neovim-nightly-overlay.overlays.default ]; config = { allowUnfree = true; }; }; + nix = { # This will add each flake input as a registry # To make nix3 commands consistent with your flake @@ -34,9 +34,11 @@ auto-optimise-store = true; }; }; + networking.networkmanager = { enable = true; }; + networking.nftables.enable = true; boot.loader = { @@ -45,6 +47,7 @@ }; security.rtkit.enable = true; + security.polkit.enable = true; services.pipewire = { enable = true; @@ -54,14 +57,50 @@ pulse.enable = true; jack.enable = true; }; + environment.systemPackages = with pkgs; [ - vim + neovim git ]; - services.udisks2 = { - enable = true; - mountOnMedia = true; + + services = { + devmon.enable = true; + gvfs.enable = true; + udisks2 = { + enable = true; + mountOnMedia = true; + }; }; + + fonts = { + packages = with pkgs; [ + # icon fonts + material-design-icons + + # normal fonts + noto-fonts + noto-fonts-cjk + noto-fonts-emoji + rubik + + # code font + source-code-pro + ]; + + enableDefaultPackages = false; + + # user defined fonts + # the reason there's Noto Color Emoji everywhere is to override DejaVu's + # B&W emojis that would sometimes show instead of some Color emojis + fontconfig.defaultFonts = { + serif = ["Noto Serif" "Noto Color Emoji"]; + sansSerif = ["Noto Sans" "Noto Color Emoji"]; + monospace = ["Source Code Pro" "Noto Color Emoji"]; + emoji = ["Noto Color Emoji"]; + }; + }; + + programs.dconf.enable = true; i18n.defaultLocale = "ru_RU.UTF-8"; programs.fish.enable = true; |
