From 4b21495fc773f7d7fd4c30e917cd805bdd46751e Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 29 Jul 2017 01:04:29 +0200 Subject: l: add host skynet --- lass/1systems/skynet/config.nix | 58 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 lass/1systems/skynet/config.nix (limited to 'lass/1systems/skynet/config.nix') 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 ; +{ + imports = [ + + + + + + # + + + { + # 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" + ''; +} -- cgit v1.2.3 From 98ab822ac42bb87cb7df59e0ce1a30635e2f5d49 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 29 Jul 2017 02:20:37 +0200 Subject: l skynet: force networking.wireless off --- lass/1systems/skynet/config.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lass/1systems/skynet/config.nix') diff --git a/lass/1systems/skynet/config.nix b/lass/1systems/skynet/config.nix index 6fa03c4af..a48df02b9 100644 --- a/lass/1systems/skynet/config.nix +++ b/lass/1systems/skynet/config.nix @@ -11,7 +11,7 @@ with import ; { - # locke config + # discordius config services.xserver.enable = true; users.users.discordius = { uid = genid "discordius"; @@ -25,6 +25,7 @@ with import ; useDefaultShell = true; }; networking.networkmanager.enable = true; + networking.wireless.enable = mkForce false; hardware.pulseaudio = { enable = true; systemWide = true; -- cgit v1.2.3