works now?

This commit is contained in:
snurm committed 2026-08-31 18:13:01 +02:00
1 parent fd19e4398b
commit 08e34ab82f
25 files changed
+746 -211

No files matched your search

@@ -0,0 +1,9 @@
{ inputs, ... }: {
flake.modules.homeManager.system-base = { config, ... }: {
imports = with inputs.self.modules.homeManager; [
];
home.homeDirectory = "/home/${config.home.username}";
home.stateVersion = "26.05";
};
}
+52
View File
@@ -0,0 +1,52 @@
{ inputs, ... }: {
flake-file.inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-26.05";
nixpkgs-unstable.url = "github:nixos/nixpkgs-unstable";
};
flake.modules.nixos.system-base = { pkgs, ... }: {
imports = with inputs.self.modules.nixos; [
home-manager
zsh
linux-latest
];
nixpkgs.overlays = [
(final: _prev: {
unstable = import inputs.nixpkgs-unstable {
inherit (final) config;
system = pkgs.stdenv.hostPlatform.system;
};
})
];
nixpkgs.config.allowUnfree = true;
nix.settings = {
substituters = [
# high priority since it's almost always used
"https://cache.nixos.org?priority=10"
"https://install.determinate.systems"
"https://nix-community.cachix.org"
];
trusted-public-keys = [
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
"cache.flakehub.com-3:hJuILl5sVK4iKm86JzgdXW12Y2Hwd5G07qKtHTOcDCM"
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
];
experimental-features = [
"nix-command"
"flakes"
];
download-buffer-size = 1024 * 1024 * 1024;
trusted-users = [
"root"
"@wheel"
];
};
system.stateVersion = "26.05";
};
}