66 lines
1.5 KiB
Nix
66 lines
1.5 KiB
Nix
{ inputs, config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
with lib.my; {
|
|
imports = [ inputs.home-manager.nixosModules.home-manager ]
|
|
++ (mapModulesRec' (toString ./modules) import);
|
|
|
|
nix = {
|
|
package = pkgs.nixFlakes;
|
|
extraOptions = "experimental-features = nix-command flakes";
|
|
nixPath = [ "nixpkgs=${inputs.nixpkgs-unstable}" ];
|
|
settings = {
|
|
substituters = [
|
|
"https://nix-community.cachix.org"
|
|
"http://cache.banditlair.com"
|
|
"https://cache.nixos.org/"
|
|
];
|
|
trusted-public-keys = [
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
"cache.banditlair.com:4zk7iDvzKh6VN+LxzKIGcVPKgL5dLeyEt2ydrgx4o8c="
|
|
];
|
|
auto-optimise-store = true;
|
|
};
|
|
};
|
|
|
|
system.configurationRevision = with inputs; mkIf (self ? rev) self.rev;
|
|
|
|
time.timeZone = mkDefault "Europe/Amsterdam";
|
|
|
|
i18n.defaultLocale = mkDefault "en_US.UTF-8";
|
|
|
|
console = {
|
|
keyMap = lib.mkDefault "fr";
|
|
font = mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-v32n.psf.gz";
|
|
earlySetup = true;
|
|
};
|
|
|
|
fonts.fontconfig.antialias = mkDefault true;
|
|
fonts.fontconfig.subpixel = {
|
|
rgba = mkDefault "none";
|
|
lcdfilter = mkDefault "none";
|
|
};
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
git
|
|
vim
|
|
|
|
wget
|
|
inetutils
|
|
man
|
|
|
|
htop
|
|
ncdu
|
|
nload
|
|
pciutils
|
|
lsof
|
|
dnsutils
|
|
|
|
unzip
|
|
];
|
|
|
|
networking.hosts = {
|
|
"127.0.0.1" = [ "localhost" "membres.yourcoop.local" ];
|
|
};
|
|
services.resolved.dnssec = "false";
|
|
}
|