stockholm/lass/1systems/skynet/config.nix

63 lines
1.5 KiB
Nix
Raw Normal View History

2017-07-28 23:04:29 +00:00
{ config, pkgs, ... }:
with import <stockholm/lib>;
{
imports = [
<stockholm/lass>
<stockholm/lass/2configs/hw/x220.nix>
<stockholm/lass/2configs/boot/stock-x220.nix>
<stockholm/lass/2configs/retiolum.nix>
#<stockholm/lass/2configs/exim-retiolum.nix>
<stockholm/lass/2configs/fetchWallpaper.nix>
{
# discordius config
2017-07-28 23:04:29 +00:00
services.xserver.enable = true;
users.users.discordius = {
uid = genid "discordius";
home = "/home/discordius";
group = "users";
createHome = true;
extraGroups = [
"audio"
"networkmanager"
];
useDefaultShell = true;
};
networking.networkmanager.enable = true;
networking.wireless.enable = mkForce false;
2017-07-28 23:04:29 +00:00
hardware.pulseaudio = {
enable = true;
systemWide = true;
};
environment.systemPackages = with pkgs; [
pavucontrol
firefox
hexchat
networkmanagerapplet
];
services.xserver.desktopManager.gnome3 = {
enable = true;
};
}
];
2017-08-11 20:55:22 +00:00
krebs.build.host = config.krebs.hosts.skynet;
2017-07-28 23:04:29 +00:00
2017-08-16 11:35:30 +00:00
services.logind.extraConfig = ''
HandleLidSwitch=ignore
'';
2017-07-28 23:04:29 +00:00
#fileSystems = {
# "/bku" = {
# device = "/dev/mapper/pool-bku";
# fsType = "btrfs";
# options = ["defaults" "noatime" "ssd" "compress=lzo"];
# };
#};
services.udev.extraRules = ''
SUBSYSTEM=="net", ATTR{address}=="10:0b:a9:a6:44:04", NAME="wl0"
SUBSYSTEM=="net", ATTR{address}=="f0:de:f1:d1:90:fc", NAME="et0"
'';
}