2021-09-22 13:41:05 +01:00
|
|
|
{ config, pkgs, lib, inputs, ... }:
|
2021-05-30 20:41:33 +01:00
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[
|
|
|
|
./common-hardware.nix
|
|
|
|
./common-services.nix
|
|
|
|
./security.nix
|
|
|
|
./syncthing.nix
|
|
|
|
];
|
2019-03-26 10:12:24 +00:00
|
|
|
|
2021-11-22 19:32:26 +00:00
|
|
|
security.allowUserNamespaces = true;
|
2020-02-16 09:23:31 +00:00
|
|
|
|
2021-11-22 19:32:26 +00:00
|
|
|
environment.enableDebugInfo = true;
|
2021-06-12 16:15:00 +01:00
|
|
|
|
2021-11-22 19:32:26 +00:00
|
|
|
nixpkgs.config.allowUnfree = true;
|
|
|
|
environment.systemPackages = with pkgs; [
|
|
|
|
wget
|
|
|
|
git
|
|
|
|
gnupg
|
|
|
|
curl
|
|
|
|
tmux
|
|
|
|
htop
|
|
|
|
atop
|
|
|
|
home-manager
|
|
|
|
pciutils
|
|
|
|
powertop
|
|
|
|
fd
|
|
|
|
dnsutils
|
|
|
|
usbutils
|
|
|
|
veracrypt
|
|
|
|
];
|
|
|
|
|
|
|
|
i18n.defaultLocale = "en_GB.UTF-8";
|
|
|
|
|
|
|
|
users.users.cyryl = {
|
|
|
|
isNormalUser = true;
|
|
|
|
extraGroups = [ "wheel" "networkmanager" "video" "scanner" "lp" "docker" "vboxusers" "adbusers" "libvirtd" "dialout" "wireshark" ];
|
|
|
|
shell = pkgs.zsh;
|
|
|
|
};
|
|
|
|
|
|
|
|
networking.hosts = {
|
|
|
|
"10.11.99.1" = [ "remarkable" ];
|
|
|
|
};
|
|
|
|
|
|
|
|
programs.light.enable = true;
|
|
|
|
programs.adb.enable = true;
|
|
|
|
programs.wireshark.enable = true;
|
|
|
|
|
|
|
|
virtualisation.docker = {
|
|
|
|
enable = true;
|
|
|
|
autoPrune.enable = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
fonts.fonts = with pkgs; [ powerline-fonts weather-icons material-icons source-code-pro fira-code noto-fonts-emoji emojione iosevka font-awesome nerdfonts ];
|
|
|
|
|
|
|
|
nix = {
|
|
|
|
autoOptimiseStore = true;
|
|
|
|
daemonIONiceLevel = 7;
|
|
|
|
daemonNiceLevel = 19;
|
|
|
|
gc.automatic = true;
|
|
|
|
optimise.automatic = true;
|
|
|
|
package = pkgs.nixUnstable;
|
|
|
|
extraOptions = ''
|
|
|
|
experimental-features = nix-command flakes
|
|
|
|
'';
|
|
|
|
};
|
2019-03-26 12:32:59 +00:00
|
|
|
|
2021-11-22 19:32:26 +00:00
|
|
|
system = {
|
|
|
|
stateVersion = "20.03";
|
|
|
|
};
|
|
|
|
}
|