BREAKING-CHANGE: changed nixpkgs to stable 24.11 + structure change + fmt

This commit is contained in:
2024-12-31 16:18:38 +01:00
parent 8d0f158b98
commit e0d676b63d
81 changed files with 1250 additions and 1143 deletions

View File

@@ -1,5 +1,9 @@
{ hostname, inputs, pkgs, ... }:
{
hostname,
inputs,
pkgs,
...
}: {
time.timeZone = "Europe/Warsaw";
i18n.defaultLocale = "en_US.UTF-8";
@@ -37,9 +41,9 @@
};
environment = {
sessionVariables.NIXOS_OZONE_WL = "1";
# sessionVariables.NIXOS_OZONE_WL = "1";
shells = with pkgs; [ bash zsh ];
shells = with pkgs; [bash zsh];
};
system = {
@@ -48,6 +52,9 @@
enable = false;
enableNg = true;
};
autoUpgrade = {
enable = true;
};
};
nixpkgs = {
@@ -69,16 +76,16 @@
nix = {
daemonCPUSchedPolicy = "batch";
channel.enable = false;
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
nixPath = ["nixpkgs=${inputs.nixpkgs}"];
optimise = {
automatic = true;
dates = [ "daily" ];
dates = ["daily"];
};
settings = {
auto-optimise-store = true;
experimental-features = [ "nix-command" "flakes" ];
experimental-features = ["nix-command" "flakes"];
substituters = [
"https://cache.nixos.org"