2022-08-01 21:11:10 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports = [
|
|
|
|
./home-manager.nix
|
|
|
|
];
|
2022-08-05 13:59:38 +00:00
|
|
|
|
2022-10-04 14:53:09 +00:00
|
|
|
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
2022-08-05 13:59:38 +00:00
|
|
|
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";
|
|
|
|
};
|
|
|
|
|
2022-11-05 20:22:31 +00:00
|
|
|
environment.sessionVariables = rec {
|
|
|
|
MOZ_ENABLE_WAYLAND = "1";
|
|
|
|
NIXOS_OZONE_WL = "1";
|
|
|
|
QT_QPA_PLATFORM = "wayland";
|
|
|
|
SDL_VIDEODRIVER = "wayland";
|
|
|
|
EDITOR = "nvim";
|
|
|
|
};
|
|
|
|
|
2022-08-05 13:59:38 +00:00
|
|
|
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-12-17 16:39:03 +00:00
|
|
|
extraGroups = [ "wheel" "docker" ];
|
2022-08-05 14:44:13 +00:00
|
|
|
description = "Sijmen";
|
2022-08-05 13:59:38 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
services = {
|
|
|
|
pipewire.enable = true;
|
|
|
|
gvfs.enable = true;
|
|
|
|
usbmuxd.enable = true;
|
2022-08-12 11:12:36 +00:00
|
|
|
smartd.enable = true;
|
2022-11-02 22:59:56 +00:00
|
|
|
pcscd.enable = true;
|
2022-12-17 16:39:53 +00:00
|
|
|
fwupd.enable = true;
|
2022-08-05 13:59:38 +00:00
|
|
|
|
2022-08-12 11:12:16 +00:00
|
|
|
printing = {
|
|
|
|
enable = true;
|
|
|
|
drivers = with pkgs; [ hplip ];
|
|
|
|
};
|
|
|
|
|
2022-08-05 13:59:38 +00:00
|
|
|
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-09-03 01:22:07 +00:00
|
|
|
iosevka
|
2022-08-08 00:11:12 +00:00
|
|
|
nerdfonts
|
2022-08-05 13:59:38 +00:00
|
|
|
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-05 13:59:38 +00:00
|
|
|
];
|
2022-08-01 21:11:10 +00:00
|
|
|
}
|