summaryrefslogtreecommitdiffstats
path: root/tv/1systems/alnus/config.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2020-09-16 21:55:09 +0200
committermakefu <github@syntax-fehler.de>2020-09-16 21:55:09 +0200
commitc64fb07027b49a3825b6f0814ebeb17782b8266a (patch)
treee1b4681fd93a4d3257b556dd8d579464d653ef77 /tv/1systems/alnus/config.nix
parent1394ae1bd4bc3dcfb77b0daee996e75f8092fc5b (diff)
parent88a9183d1d36424977b0cd8ed513109433b779b2 (diff)
Merge remote-tracking branch 'lass/master'
Diffstat (limited to 'tv/1systems/alnus/config.nix')
-rw-r--r--tv/1systems/alnus/config.nix13
1 files changed, 7 insertions, 6 deletions
diff --git a/tv/1systems/alnus/config.nix b/tv/1systems/alnus/config.nix
index 66bd52ab2..ed5fb671c 100644
--- a/tv/1systems/alnus/config.nix
+++ b/tv/1systems/alnus/config.nix
@@ -17,7 +17,6 @@ with import <stockholm/lib>;
};
environment.systemPackages = with pkgs; [
- chromium
firefoxWrapper
networkmanagerapplet
(pkgs.pidgin-with-plugins.override {
@@ -31,12 +30,12 @@ with import <stockholm/lib>;
};
"/" = {
device = "/dev/mapper/main-root";
- fsType = "btrfs";
+ fsType = "ext4";
options = [ "defaults" "noatime" ];
};
"/home" = {
device = "/dev/mapper/main-home";
- fsType = "btrfs";
+ fsType = "ext4";
options = [ "defaults" "noatime" ];
};
};
@@ -55,9 +54,11 @@ with import <stockholm/lib>;
networking.networkmanager.enable = true;
- nixpkgs.config = {
- allowUnfree = true;
- };
+ services.earlyoom.enable = true;
+ services.earlyoom.freeMemThreshold = 5;
+ systemd.services.earlyoom.environment.EARLYOOM_ARGS = toString [
+ "--prefer '^(Web Content|Privileged Cont)$'" # firefox tabs
+ ];
services.xserver = {
enable = true;