blob: d896b249391a40160f275c2f342d08322d3c6cdf (
plain) (
blame)
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
|
{ config, pkgs, unfreeAndNonDistributablePkgs, lib, ... }:
{
boot.initrd.availableKernelModules = [ "usbhid" ];
boot.kernelModules = [ "kvm-intel" ];
boot.loader.gummiboot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
environment.systemPackages = with pkgs; [
cdparanoia chromium figlet gajim gimp htop inkscape kde5.gwenview
libreoffice mosh mpv pciutils unfreeAndNonDistributablePkgs.skype
thunderbird vlc vuizvui.tomahawk wget wine youtubeDL
];
fileSystems."/boot".device = "/dev/disk/by-uuid/A0D5-269D";
fileSystems."/boot".fsType = "vfat";
fileSystems."/".label = "tyree-root";
fileSystems."/".fsType = "btrfs";
fileSystems."/".options = [
"compress=lzo"
"discard"
"noatime"
"space_cache"
"ssd"
];
swapDevices = lib.singleton {
label = "tyree-swap";
};
hardware.cpu.intel.updateMicrocode = true;
hardware.pulseaudio.enable = true;
i18n.consoleUseXkbConfig = true;
i18n.defaultLocale = "de_DE.UTF-8";
networking.hostName = "tyree";
networking.firewall.enable = false;
networking.wireless.enable = false;
networking.networkmanager.enable = true;
networking.useNetworkd = true;
nix.maxJobs = 4;
nix.useChroot = true;
nix.readOnlyStore = true;
nix.buildCores = 0;
nix.extraOptions = ''
auto-optimise-store = true
'';
nixpkgs.config = {
pulseaudio = true;
chromium.enablePepperFlash = true;
};
programs.bash.enableCompletion = true;
programs.bash.interactiveShellInit = lib.mkBefore ''
export LANG=en_US.UTF-8
'';
services.openssh.enable = true;
services.tlp.enable = true;
services.printing.enable = true;
services.printing.drivers = [ pkgs.gutenprint pkgs.hplip ];
services.xserver.enable = true;
services.xserver.layout = "de";
services.xserver.xkbOptions = "eurosign:e,caps:none";
services.xserver.displayManager.auto.enable = true;
services.xserver.displayManager.auto.user = "bla";
services.xserver.desktopManager.kde5.enable = true;
services.xserver.wacom.enable = true;
time.timeZone = "Europe/Berlin";
users.users.bla = {
isNormalUser = true;
uid = 1000;
extraGroups = [ "video" "wheel" ];
};
# XXX: Temporary until internal WiFi works
vuizvui.hardware.rtl8192cu.enable = true;
vuizvui.hardware.t100ha.enable = true;
vuizvui.user.aszlig.programs.vim.enable = true;
}
|