From ef96309c93394165d8cfb80224dee3a3f323926b Mon Sep 17 00:00:00 2001 From: Sridhar Ratnakumar Date: Thu, 8 Apr 2021 17:02:11 -0400 Subject: [PATCH] lxd --- features/virtualization.nix | 3 +++ flake.lock | 20 ++++++++++---------- flake.nix | 1 + 3 files changed, 14 insertions(+), 10 deletions(-) create mode 100644 features/virtualization.nix diff --git a/features/virtualization.nix b/features/virtualization.nix new file mode 100644 index 0000000..216284e --- /dev/null +++ b/features/virtualization.nix @@ -0,0 +1,3 @@ +{ pkgs, ... }: { + virtualisation.lxd.enable = true; +} diff --git a/flake.lock b/flake.lock index 81cf054..74bed2c 100644 --- a/flake.lock +++ b/flake.lock @@ -57,11 +57,11 @@ "utils": "utils" }, "locked": { - "lastModified": 1617890990, - "narHash": "sha256-J0cr9CYiIQBrQob/C3GBlUJyVT4rphqNTqzxK23N1ak=", + "lastModified": 1617900449, + "narHash": "sha256-p4zD94Y5cUI4ixQxh3OVf7ltayis3VXAUOkNcixPPy4=", "owner": "srid", "repo": "himalaya", - "rev": "259975d5c1fef8754bba6e2dd1a82020415a5ff4", + "rev": "7b0924286ceb6c5aa5a6c7d244d1dbd7ac103e52", "type": "github" }, "original": { @@ -76,11 +76,11 @@ "nixpkgs": "nixpkgs_3" }, "locked": { - "lastModified": 1617625716, - "narHash": "sha256-B36WKNVwtmRk3oqJ9XbOca0iy1Ga1dW6E26iavRFPKQ=", + "lastModified": 1617894699, + "narHash": "sha256-zlG3xNXgqo5pbMmfq8YaqGoVjElHnTDnEz13A+pUbZY=", "owner": "nix-community", "repo": "home-manager", - "rev": "cc60c22c69e6967b732d02f072a9f1e30454e4f6", + "rev": "56f5f41ed42f7d476a7c79fa8ec71f5605487abf", "type": "github" }, "original": { @@ -122,11 +122,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1617636226, - "narHash": "sha256-iZhBWrOR2DoDs1C+0FlnM9AQLMol/qoGQ+d+S43CKJM=", - "owner": "nixos", + "lastModified": 1617899217, + "narHash": "sha256-gd5JHH7IkeoIQ/oiGZSqDpGdGt7DMRJTQ8JiD8+hdOQ=", + "owner": "NixOS", "repo": "nixpkgs", - "rev": "3d1a7716d7f1fccbd7d30ab3b2ed3db831f43bde", + "rev": "9e377a6ce42dccd9b624ae4ce8f978dc892ba0e2", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix index 51b9d70..c4321c1 100644 --- a/flake.nix +++ b/flake.nix @@ -18,6 +18,7 @@ configurationNix ./features/passwordstore.nix ./features/syncthing.nix + ./features/virtualization.nix ./features/email ./features/monitor-brightness.nix