-
Notifications
You must be signed in to change notification settings - Fork 0
/
configuration.nix
58 lines (49 loc) · 1.59 KB
/
configuration.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
{ options, config, pkgs, ... }: {
boot = {
loader = {
efi.canTouchEfiVariables = true;
grub = {
efiSupport = true;
enable = true;
devices = [ "nodev" ];
useOSProber = true;
};
};
};
# time.timeZone = "Europe/Berlin";
time.timeZone = "Asia/Manila";
services.localtimed.enable = true;
i18n.defaultLocale = "en_US.UTF-8";
fonts.packages = [pkgs.dejavu_fonts pkgs.nerdfonts];
networking.extraHosts = ''
127.0.0.1 porsche-roads-website.localhost.direct
'';
programs.fish.enable = true;
programs.fish.shellAliases = import ./modules/shell-aliases.nix;
programs.bash.shellAliases = import ./modules/shell-aliases.nix;
programs.gnupg.agent.enable = true;
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "gerkules" ];
users.users.gerkules = {
isNormalUser = true;
description = "Gerkules";
extraGroups = [ "audio" "networkmanager" "wheel" "docker" "plugdev" "scanner" "lp" ];
packages = with pkgs; [];
shell = pkgs.fish;
};
virtualisation.docker.enable = true;
nix.settings.experimental-features = ["nix-command" "flakes"];
nixpkgs.config.allowUnfree = true;
hardware.bluetooth.enable = true;
services.blueman.enable = true;
hardware.enableAllFirmware = true;
nixpkgs.config.permittedInsecurePackages = ["electron-13.6.9" "openssl-1.1.1w"];
services.logind.lidSwitchExternalPower = "ignore";
services.teamviewer.enable = true;
services.printing.enable = true;
services.avahi = {
enable = true;
nssmdns4 = true;
openFirewall = true;
};
}