Skip to content

Commit

Permalink
Configure memballoon properly
Browse files Browse the repository at this point in the history
  • Loading branch information
diamondburned committed May 5, 2024
1 parent 193e568 commit 556008f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 8 deletions.
6 changes: 3 additions & 3 deletions nix/sources.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
"homepage": null,
"owner": "AshleyYakeley",
"repo": "NixVirt",
"rev": "f6bc308804cc3c35457ed012c031b121af1578a8",
"sha256": "19j9rcsbvg9qmrxaqmswd6mxy9qr983hs1f7p827kqm07bpmdwh2",
"rev": "24dca31fd29c26e92799d3e282e5f2abe8ab7b7b",
"sha256": "0xw0y40nj54r340sw07by1c0ybqs80wby66fpndm8j96b71ddbml",
"type": "tarball",
"url": "https://github.com/AshleyYakeley/NixVirt/archive/f6bc308804cc3c35457ed012c031b121af1578a8.tar.gz",
"url": "https://github.com/AshleyYakeley/NixVirt/archive/24dca31fd29c26e92799d3e282e5f2abe8ab7b7b.tar.gz",
"url_template": "https://github.com/<owner>/<repo>/archive/<rev>.tar.gz",
"version": "master"
},
Expand Down
7 changes: 2 additions & 5 deletions user-machines/vm/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -300,11 +300,8 @@ in
];
memballoon = {
model = "virtio-non-transitional";

# TODO: https://github.com/AshleyYakeley/NixVirt/pull/35
#
# autodeflate = true;
# freePageReporting = true;
autodeflate = true;
freePageReporting = true;
};
interface = {
type = "network";
Expand Down

0 comments on commit 556008f

Please sign in to comment.