From c0aedcdb2f1d3da403daabd7949b61eb2ffcb750 Mon Sep 17 00:00:00 2001 From: adikro Date: Sat, 15 Nov 2025 19:25:59 +0100 Subject: added fonts and localization --- flake.lock | 6 +++--- home/home.nix | 13 ++++++------- home/wayland/hyprland/hyprland.nix | 2 ++ hosts/desktop/configuration.nix | 29 ++++++++++++++++++++--------- 4 files changed, 31 insertions(+), 19 deletions(-) diff --git a/flake.lock b/flake.lock index a595319..8fa4291 100644 --- a/flake.lock +++ b/flake.lock @@ -378,11 +378,11 @@ ] }, "locked": { - "lastModified": 1763198244, - "narHash": "sha256-oLugbe2pJv39BjWg7kAljn6vUxjVr/ArkITDX8fFd2Y=", + "lastModified": 1763228015, + "narHash": "sha256-1rYieMVUyZ3kK/cBIr8mOusxrOEJ1/+2MsOg0oJ7b3A=", "owner": "nix-community", "repo": "home-manager", - "rev": "c3bc79be5ee97455262c6c677bbf065eed07948c", + "rev": "96156a9e86281c4bfc451236bc2ddfe4317e6f39", "type": "github" }, "original": { diff --git a/home/home.nix b/home/home.nix index 39f4567..642352f 100644 --- a/home/home.nix +++ b/home/home.nix @@ -25,10 +25,13 @@ home.stateVersion = "25.05"; home.packages = with pkgs; [ + grim + slurp + satty + brave winboat ripgrep - jq nix-index qbittorrent-enhanced fastfetch @@ -43,16 +46,12 @@ obs-cmd obs-studio mako - satty thunderbird - nautilus - kdePackages.dolphin - xfce.thunar-volman - xfce.thunar-vcs-plugin + xfce.thunar xfce.thunar-archive-plugin + xfce.thunar-volman magic-wormhole obsidian - xfce.thunar alsa-utils ]; diff --git a/home/wayland/hyprland/hyprland.nix b/home/wayland/hyprland/hyprland.nix index fe85283..531ea62 100644 --- a/home/wayland/hyprland/hyprland.nix +++ b/home/wayland/hyprland/hyprland.nix @@ -31,6 +31,8 @@ ]; input = { + kb_layout = "pl"; + accel_profile = "flat"; sensitivity = -0.6; repeat_rate = 45; diff --git a/hosts/desktop/configuration.nix b/hosts/desktop/configuration.nix index 17dae8e..2b506ec 100644 --- a/hosts/desktop/configuration.nix +++ b/hosts/desktop/configuration.nix @@ -90,15 +90,26 @@ xdg.portal = { wlr.enable = true; }; -time.timeZone = "Europe/Warsaw"; - - # Select internationalisation properties. - # i18n.defaultLocale = "en_US.UTF-8"; - # console = { - # font = "Lat2-Terminus16"; - # keyMap = "pl"; - # useXkbConfig = true; # use xkb.options in tty. - # }; + time.timeZone = "Europe/Warsaw"; + + i18n.defaultLocale = "en_US.UTF-8"; + i18n.extraLocaleSettings = { + LC_TIME = "pl_PL.UTF-8"; + LC_NUMERIC = "pl_PL.UTF-8"; + LC_MONETARY = "pl_PL.UTF-8"; + LC_PAPER = "pl_PL.UTF-8"; + LC_MEASUREMENT = "pl_PL.UTF-8"; + LC_COLLATE = "pl_PL.UTF-8"; + LC_NAME = "pl_PL.UTF-8"; + LC_ADDRESS = "pl_PL.UTF-8"; + LC_TELEPHONE = "pl_PL.UTF-8"; + LC_IDENTIFICATION = "pl_PL.UTF-8"; + }; + + console = { + keyMap = "pl"; + font = "Lat2-Terminus16"; + }; environment.sessionVariables = { NH_FLAKE = "/etc/nixos"; -- cgit v1.3