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

41 lines
893 B
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/retiolum.nix>
2018-11-20 22:02:33 +00:00
<stockholm/lass/2configs/blue-host.nix>
2018-11-30 03:37:22 +00:00
<stockholm/lass/2configs/power-action.nix>
2017-07-28 23:04:29 +00:00
{
services.xserver.enable = true;
2018-11-20 00:13:05 +00:00
services.xserver.desktopManager.xfce.enable = true;
2017-07-28 23:04:29 +00:00
users.users.discordius = {
2018-11-20 00:13:05 +00:00
uid = genid "diskordius";
isNormalUser = true;
2017-07-28 23:04:29 +00:00
extraGroups = [
"audio"
"networkmanager"
];
};
environment.systemPackages = with pkgs; [
2018-11-20 00:13:05 +00:00
google-chrome
2017-07-28 23:04:29 +00:00
];
2018-11-20 00:13:05 +00:00
hardware.pulseaudio = {
2017-07-28 23:04:29 +00:00
enable = true;
2018-11-20 00:13:05 +00:00
systemWide = true;
2017-07-28 23:04:29 +00:00
};
}
];
2017-08-11 20:55:22 +00:00
krebs.build.host = config.krebs.hosts.skynet;
2017-07-28 23:04:29 +00:00
2018-11-20 00:13:05 +00:00
networking.wireless.enable = false;
networking.networkmanager.enable = true;
2017-08-16 11:35:30 +00:00
services.logind.extraConfig = ''
HandleLidSwitch=ignore
'';
2017-07-28 23:04:29 +00:00
}