mirror of
https://github.com/ivabus/nixos
synced 2024-09-20 00:30:48 +03:00
Ivan Bushchik
6889a37771
- add celerrime-x (don't work) - minor changes (code pretty) Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
37 lines
727 B
Nix
37 lines
727 B
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
{
|
|
nix = {
|
|
package = pkgs.nixUnstable;
|
|
extraOptions = ''
|
|
experimental-features = nix-command flakes
|
|
'';
|
|
settings = {
|
|
auto-optimise-store = true;
|
|
allowed-users = [ "root" "@wheel" ];
|
|
trusted-users = [ "root" "@wheel" ];
|
|
sandbox = true;
|
|
};
|
|
gc = {
|
|
automatic = true;
|
|
options = "--delete-older-than 7d";
|
|
};
|
|
};
|
|
|
|
documentation = {
|
|
doc.enable = false;
|
|
info.enable = false;
|
|
man.enable = true;
|
|
};
|
|
|
|
environment.systemPackages = with pkgs;
|
|
[ wget curl git git-crypt neovim python3Minimal nixfmt ]
|
|
++ lib.optionals pkgs.stdenv.isLinux [
|
|
usbutils
|
|
pciutils
|
|
coreutils-full
|
|
killall
|
|
];
|
|
|
|
}
|