diff options
author | lassulus <lassulus@lassul.us> | 2017-07-29 01:04:29 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-07-29 01:04:29 +0200 |
commit | 4b21495fc773f7d7fd4c30e917cd805bdd46751e (patch) | |
tree | d3e64edff33378dc40ec75ccb12696b29c9044be /lass/1systems/skynet | |
parent | 5ff77c7c64fe8eb94004a77718e70cfa14a3c9c4 (diff) |
l: add host skynet
Diffstat (limited to 'lass/1systems/skynet')
-rw-r--r-- | lass/1systems/skynet/config.nix | 58 | ||||
-rw-r--r-- | lass/1systems/skynet/source.nix | 4 |
2 files changed, 62 insertions, 0 deletions
diff --git a/lass/1systems/skynet/config.nix b/lass/1systems/skynet/config.nix new file mode 100644 index 000000000..6fa03c4af --- /dev/null +++ b/lass/1systems/skynet/config.nix @@ -0,0 +1,58 @@ +{ 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> + <stockholm/lass/2configs/backups.nix> + { + # locke config + 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; + hardware.pulseaudio = { + enable = true; + systemWide = true; + }; + environment.systemPackages = with pkgs; [ + pavucontrol + firefox + hexchat + networkmanagerapplet + ]; + services.xserver.desktopManager.gnome3 = { + enable = true; + }; + } + ]; + + krebs.build.host = config.krebs.hosts.daedalus; + + #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" + ''; +} diff --git a/lass/1systems/skynet/source.nix b/lass/1systems/skynet/source.nix new file mode 100644 index 000000000..2aa627f5c --- /dev/null +++ b/lass/1systems/skynet/source.nix @@ -0,0 +1,4 @@ +import <stockholm/lass/source.nix> { + name = "skynet"; + secure = true; +} |