stockholm/tv/1systems/querel/config.nix

95 lines
2.0 KiB
Nix
Raw Normal View History

2017-11-02 20:12:27 +00:00
with import <stockholm/lib>;
{ config, pkgs, ... }: {
imports = [
2018-10-05 20:14:36 +00:00
<stockholm/tv>
2017-11-02 20:12:27 +00:00
<stockholm/tv/2configs/retiolum.nix>
2018-10-05 20:14:36 +00:00
<stockholm/tv/2configs/xp-332.nix>
2017-11-02 20:12:27 +00:00
];
krebs.build.host = config.krebs.hosts.querel;
krebs.build.user = mkForce config.krebs.users.itak;
boot.initrd.availableKernelModules = [ "ahci" ];
boot.initrd.luks = {
cryptoModules = [ "aes" "sha512" "xts" ];
devices.querel-luks1 = {
allowDiscards = true;
device = "/dev/sda2";
};
};
boot.kernelModules = [ "kvm-intel" ];
boot.loader = {
efi.canTouchEfiVariables = true;
systemd-boot.enable = true;
};
environment.systemPackages = with pkgs; [
2017-12-22 20:31:39 +00:00
chromium
2017-11-02 20:12:27 +00:00
firefoxWrapper
gimp
kate
libreoffice
(pkgs.pidgin-with-plugins.override {
plugins = [ pkgs.pidginotr ];
})
sxiv
texlive.combined.scheme-full
vim
2018-10-05 20:14:36 +00:00
xsane
2017-11-02 20:12:27 +00:00
zathura
];
fileSystems = {
"/" = {
device = "/dev/mapper/querel-root";
fsType = "ext4";
options = [ "defaults" "discard" ];
};
"/home" = {
device = "/dev/mapper/querel-home";
fsType = "ext4";
options = [ "defaults" "discard" ];
};
"/boot" = {
device = "/dev/sda1";
};
};
hardware.enableRedistributableFirmware = true;
hardware.pulseaudio.enable = true;
i18n.defaultLocale = "de_DE.UTF-8";
networking.networkmanager.enable = true;
2017-12-22 20:31:39 +00:00
nixpkgs.config.chromium.enablePepperFlash = true;
2017-11-02 20:12:27 +00:00
programs.ssh.startAgent = false;
services.xserver.enable = true;
services.xserver.layout = "de";
services.xserver.xkbOptions = "eurosign:e";
services.xserver.synaptics = {
enable = true;
twoFingerScroll = true;
};
services.xserver.desktopManager.plasma5.enable = true;
services.xserver.displayManager.auto = {
enable = true;
user = "itak";
};
users.users.itak = {
inherit (config.krebs.users.itak) home uid;
isNormalUser = true;
extraGroups = [
"audio"
"video"
"networkmanager"
];
};
}