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

41 lines
955 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>
2019-03-22 07:07:04 +00:00
<stockholm/lass/2configs/syncthing.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;
2020-06-23 08:19:28 +00:00
services.logind.lidSwitch = "ignore";
services.logind.lidSwitchDocked = "ignore";
2017-07-28 23:04:29 +00:00
}