72 lines
1.2 KiB
Nix
72 lines
1.2 KiB
Nix
{ pkgs, ... }@inputs:
|
|
{
|
|
imports = [
|
|
./applications.nix
|
|
./network.nix
|
|
./power.nix
|
|
./profiling.nix
|
|
./security.nix
|
|
./shell.nix
|
|
./virtualisation.nix
|
|
];
|
|
|
|
nix = {
|
|
settings = {
|
|
experimental-features = [
|
|
"nix-command"
|
|
"flakes"
|
|
];
|
|
auto-optimise-store = true;
|
|
};
|
|
};
|
|
|
|
nixpkgs = {
|
|
overlays = [
|
|
(self: super: {
|
|
unstable = import inputs.nixpkgs-unstable {
|
|
system = super.system;
|
|
config = {
|
|
allowUnfree = true;
|
|
allowUnfreePredicate = (_: true);
|
|
};
|
|
};
|
|
})
|
|
];
|
|
config = {
|
|
allowUnfree = true;
|
|
allowUnfreePredicate = (_: true);
|
|
};
|
|
};
|
|
|
|
time.timeZone = "Europe/Berlin";
|
|
|
|
i18n = {
|
|
defaultLocale = "en_US.UTF-8";
|
|
supportedLocales = [
|
|
"en_US.UTF-8/UTF-8"
|
|
"de_DE.UTF-8/UTF-8"
|
|
];
|
|
};
|
|
|
|
console = {
|
|
font = "Lat2-Terminus16";
|
|
keyMap = "us";
|
|
};
|
|
|
|
programs.dconf.enable = true;
|
|
services.dbus = {
|
|
enable = true;
|
|
packages = with pkgs; [
|
|
dconf
|
|
];
|
|
};
|
|
|
|
programs.ccache = {
|
|
enable = true;
|
|
};
|
|
|
|
services.openssh = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
};
|
|
}
|