nix/common/configuration.nix

66 lines
1.1 KiB
Nix
Raw Normal View History

2022-08-01 21:11:10 +00:00
{ config, pkgs, ... }:
{
imports = [
./home-manager.nix
];
nixpkgs.config.allowUnfree = true;
time.timeZone = "Europe/Amsterdam";
console = {
earlySetup = true;
font = "${pkgs.terminus_font}/share/consolefonts/ter-132n.psf.gz";
packages = with pkgs; [ terminus_font ];
keyMap = "us";
};
i18n = {
defaultLocale = "en_US.UTF-8";
supportedLocales = [
"en_US.UTF-8/UTF-8"
"nl_NL.UTF-8/UTF-8"
];
};
users.users.sijmen = {
isNormalUser = true;
2022-08-12 00:11:22 +00:00
extraGroups = [ "wheel" ];
2022-08-05 14:44:13 +00:00
description = "Sijmen";
};
services = {
pipewire.enable = true;
gvfs.enable = true;
usbmuxd.enable = true;
2022-08-12 11:12:36 +00:00
smartd.enable = true;
2022-08-12 11:12:16 +00:00
printing = {
enable = true;
drivers = with pkgs; [ hplip ];
};
openssh = {
enable = true;
passwordAuthentication = false;
};
syncthing = {
enable = true;
user = "sijmen";
dataDir = config.users.users.sijmen.home;
};
};
fonts.fonts = with pkgs; [
2022-08-20 13:33:45 +00:00
dejavu_fonts
2022-08-08 00:11:12 +00:00
nerdfonts
noto-fonts
noto-fonts-cjk
noto-fonts-emoji
2022-08-08 00:11:12 +00:00
powerline-fonts
2022-08-20 13:33:45 +00:00
source-han-sans
ubuntu_font_family
];
2022-08-01 21:11:10 +00:00
}