Merge remote-tracking branch 'cd/master'
This commit is contained in:
commit
8d209efd0a
|
@ -69,8 +69,6 @@ with config.krebs.lib;
|
||||||
|
|
||||||
nixpkgs.config = {
|
nixpkgs.config = {
|
||||||
allowUnfree = true;
|
allowUnfree = true;
|
||||||
chromium.enablePepperFlash = true;
|
|
||||||
firefox.enableAdobeFlash = true;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
|
|
@ -59,9 +59,6 @@ with config.krebs.lib;
|
||||||
|
|
||||||
swapDevices =[ ];
|
swapDevices =[ ];
|
||||||
|
|
||||||
nixpkgs.config.firefox.enableAdobeFlash = true;
|
|
||||||
nixpkgs.config.chromium.enablePepperFlash = true;
|
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true;
|
nixpkgs.config.allowUnfree = true;
|
||||||
hardware.opengl.driSupport32Bit = true;
|
hardware.opengl.driSupport32Bit = true;
|
||||||
|
|
||||||
|
|
|
@ -142,8 +142,6 @@ with config.krebs.lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.chromium.enablePepperFlash = true;
|
|
||||||
|
|
||||||
krebs.nixpkgs.allowUnfreePredicate = pkg: hasPrefix "nvidia-x11-" pkg.name;
|
krebs.nixpkgs.allowUnfreePredicate = pkg: hasPrefix "nvidia-x11-" pkg.name;
|
||||||
hardware.bumblebee.enable = true;
|
hardware.bumblebee.enable = true;
|
||||||
hardware.bumblebee.group = "video";
|
hardware.bumblebee.group = "video";
|
||||||
|
|
|
@ -153,8 +153,6 @@ with config.krebs.lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.chromium.enablePepperFlash = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ethtool
|
ethtool
|
||||||
tinc_pre
|
tinc_pre
|
||||||
|
|
|
@ -159,8 +159,6 @@ with config.krebs.lib;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
nixpkgs.config.chromium.enablePepperFlash = true;
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
ethtool
|
ethtool
|
||||||
tinc_pre
|
tinc_pre
|
||||||
|
|
|
@ -4,6 +4,7 @@ _:
|
||||||
imports = [
|
imports = [
|
||||||
./charybdis
|
./charybdis
|
||||||
./ejabberd
|
./ejabberd
|
||||||
|
./hosts.nix
|
||||||
./iptables.nix
|
./iptables.nix
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
12
tv/3modules/hosts.nix
Normal file
12
tv/3modules/hosts.nix
Normal file
|
@ -0,0 +1,12 @@
|
||||||
|
{ config, ... }:
|
||||||
|
|
||||||
|
with config.krebs.lib;
|
||||||
|
|
||||||
|
{
|
||||||
|
options.tv.hosts = mkOption {
|
||||||
|
type = types.attrsOf types.host;
|
||||||
|
default =
|
||||||
|
filterAttrs (_: host: host.owner.name == "tv")
|
||||||
|
config.krebs.hosts;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user