aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKatharina Fey <kookie@spacekookie.de>2020-09-21 15:18:06 +0200
committerKatharina Fey <kookie@spacekookie.de>2020-09-21 15:18:06 +0200
commit651956fe613dbbe5dd160dab66fc4f18fc753f20 (patch)
tree9aa63a28624acf249e1b64d8f52594c998b0e2aa
parent3854fe8f8759c19da3610d3644e4b24e0e7f6162 (diff)
roots/uwu: adding docker and zfs snapshot systems
-rw-r--r--roots/uwu.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/roots/uwu.nix b/roots/uwu.nix
index d41634ca9e3..d53b6a66e48 100644
--- a/roots/uwu.nix
+++ b/roots/uwu.nix
@@ -13,11 +13,12 @@
{
nixpkgs.config.allowUnfree = true;
-
+
imports = [
<home-manager/nixos>
../modules/nix
../modules/base
+ ../modules/docker
../modules/workstation
../modules/workstation/hardware/trackpoint
];
@@ -40,6 +41,8 @@
boot.tmpOnTmpfs = true;
boot.supportedFilesystems = [ "zfs" "exfat" ];
+ services.zfs.autoSnapshot.enable = true;
+
fileSystems."/" = {
device = "zroot";
fsType = "zfs";
@@ -63,6 +66,9 @@
nix.maxJobs = lib.mkDefault 4;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
+ services.mullvad.enable = true;
+ programs.java.enable = true;
+
# owo
networking.hostName = "uwu";
networking.hostId = "a82ecf29";