From 6655efa62ea7a3beee7f04c220b5d20cae795f93 Mon Sep 17 00:00:00 2001 From: serenity-F Date: Thu, 3 Apr 2025 21:47:01 +1000 Subject: [PATCH] added preliminary niri options --- core/default.nix | 38 +++++++++++++++++++++----------------- flake.nix | 5 ++++- 2 files changed, 25 insertions(+), 18 deletions(-) diff --git a/core/default.nix b/core/default.nix index 686bee5..334ffed 100755 --- a/core/default.nix +++ b/core/default.nix @@ -19,23 +19,6 @@ ]; - ## Crikey ! - ## Don't forget to set your& locale settings ! - time.timeZone = "Australia/Brisbane"; - i18n = { - defaultLocale = "en_AU.UTF-8"; - extraLocaleSettings = { - LC_NAME = "en_AU.UTF-8"; - LC_TIME = "en_AU.UTF-8"; - LC_PAPER = "en_AU.UTF-8"; - LC_ADDRESS = "en_AU.UTF-8"; - LC_MONETARY = "en_AU.UTF-8"; - LC_TELEPHONE = "en_AU.UTF-8"; - LC_MEASUREMENT = "en_AU.UTF-8"; - LC_IDENTIFICATION = "en_AU.UTF-8"; - }; - }; - ## Core security options security = { sudo.execWheelOnly = true; # sets sudo auth to @wheel only @@ -69,6 +52,10 @@ "nix-command" # useful nya "flakes" # flakes are vv important nya ]; + + ## Substiters for packages either not in or out of date in nixpkgs + substituters = [ ]; + trusted-public-keys = [ ]; }; ## Nix garbage collection @@ -112,6 +99,23 @@ }; }; + ## Crikey ! + ## Don't forget to set your& locale settings ! + time.timeZone = "Australia/Brisbane"; + i18n = { + defaultLocale = "en_AU.UTF-8"; + extraLocaleSettings = { + LC_NAME = "en_AU.UTF-8"; + LC_TIME = "en_AU.UTF-8"; + LC_PAPER = "en_AU.UTF-8"; + LC_ADDRESS = "en_AU.UTF-8"; + LC_MONETARY = "en_AU.UTF-8"; + LC_TELEPHONE = "en_AU.UTF-8"; + LC_MEASUREMENT = "en_AU.UTF-8"; + LC_IDENTIFICATION = "en_AU.UTF-8"; + }; + }; + ## Make sure this is set ! system = { stateVersion = "24.11"; }; diff --git a/flake.nix b/flake.nix index 0eb98b9..a98c66c 100755 --- a/flake.nix +++ b/flake.nix @@ -116,7 +116,10 @@ ## Niri window manager - ## https://github.com/YaLTeR/niri ## https://github.com/sodiboo/niri-flake/ - niri = { url = "github:githib/sodiboo/niri-flake"; }; + niri = { + url = "github:github/sodiboo/niri-flake"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; outputs = { self, nixpkgs, disko, sops-nix, musnix, nixos-generators,