2024-10-05 23:03:31 +00:00
|
|
|
{ pkgs, ... }:
|
|
|
|
{
|
|
|
|
nix = {
|
|
|
|
package = pkgs.nix;
|
|
|
|
|
|
|
|
settings = {
|
2024-10-06 19:53:29 +00:00
|
|
|
experimental-features = [
|
|
|
|
"nix-command"
|
|
|
|
"flakes"
|
|
|
|
];
|
2024-10-06 20:46:04 +00:00
|
|
|
|
2024-10-05 23:03:31 +00:00
|
|
|
build-users-group = "nixbld";
|
2024-10-06 20:46:04 +00:00
|
|
|
|
2024-10-06 19:53:29 +00:00
|
|
|
trusted-users = [
|
|
|
|
"root"
|
|
|
|
"larstvei"
|
|
|
|
];
|
2024-10-05 23:03:31 +00:00
|
|
|
|
|
|
|
substituters = [
|
|
|
|
"https://cache.nixos.org"
|
|
|
|
"https://nix-community.cachix.org"
|
|
|
|
"https://larstvei.cachix.org"
|
|
|
|
];
|
|
|
|
|
|
|
|
trusted-public-keys = [
|
|
|
|
"cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY="
|
|
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
|
|
"larstvei.cachix.org-1:mJq98qeTBnm2xNNibn2BEwN1ggi6uQg+5hWASdG1Vys="
|
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
2024-10-06 08:42:00 +00:00
|
|
|
|
2024-10-06 19:53:29 +00:00
|
|
|
environment.systemPackages = [
|
|
|
|
pkgs.git
|
|
|
|
pkgs.htop
|
|
|
|
pkgs.tree
|
|
|
|
];
|
2024-10-06 20:10:53 +00:00
|
|
|
|
|
|
|
services.nix-daemon.enable = true;
|
2024-10-05 23:03:31 +00:00
|
|
|
}
|