Enable suspend on rainbowdash

This commit is contained in:
Artemis Tosini 2022-04-04 16:58:31 +00:00
parent ae9f20c16f
commit 165baf60d8
Signed by: artemist
GPG key ID: ADFFE553DCBB831E
2 changed files with 14 additions and 13 deletions

View file

@ -7,11 +7,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1647175256, "lastModified": 1648834319,
"narHash": "sha256-7H+veXPM7IwdN1DoZqliwb9sghlN56koV5dnCu1kpsc=", "narHash": "sha256-i5Aj4Aw64D/A0X6XW5LxSS4XBnYj7gMz+kN4dpsbdk8=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "a8d00f5c038cf7ec54e7dac9c57b171c1217f008", "rev": "0bdbdea2e26c984b096f4f7d10e3c88536a980b0",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -23,11 +23,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1648203577, "lastModified": 1649024309,
"narHash": "sha256-CbXZkiVTA0ByV/yncFHCAGIa/AfcSb0cjqzEa56rO+Y=", "narHash": "sha256-AWbvj/NHZXVwAnHaVOFlxg7tcNerEKrKBmgGfztSHWM=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "d89f18a17e51532ed5f4d45297b0ddf11e46b9c8", "rev": "af0a9bc0e5341855518e9c1734d7ef913e5138b9",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -39,11 +39,11 @@
}, },
"nixpkgs-unstable": { "nixpkgs-unstable": {
"locked": { "locked": {
"lastModified": 1648390671, "lastModified": 1648632716,
"narHash": "sha256-u69opCeHUx3CsdIerD0wVSR+DjfDQjnztObqfk9Trqc=", "narHash": "sha256-kCmnDeiaMsdhfnNKjxdOzwRh2H6eQb8yWAL+nNabC/Y=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "ce8cbe3c01fd8ee2de526ccd84bbf9b82397a510", "rev": "710fed5a2483f945b14f4a58af2cd3676b42d8c8",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -55,11 +55,11 @@
}, },
"private": { "private": {
"locked": { "locked": {
"lastModified": 1637382407, "lastModified": 1649027188,
"narHash": "sha256-Bw/R8th8bbJ7w6qN6+kxv7pfN3oa+VuzuJdEWgFmDuA=", "narHash": "sha256-OLQOOAmMTjpVbWnX8avypJolRycM5zusGL75ASH5QG0=",
"ref": "unified", "ref": "unified",
"rev": "992cc2ee5ba553bf3471e69fb59d8fe1fef4e87b", "rev": "25a7854a94cda521cccb4bee99c5dbbc95236316",
"revCount": 28, "revCount": 29,
"type": "git", "type": "git",
"url": "ssh://git@github.com/artemist/nixos-config-private" "url": "ssh://git@github.com/artemist/nixos-config-private"
}, },

View file

@ -3,6 +3,7 @@
{ {
boot = { boot = {
kernelPackages = pkgs.linuxPackages_latest; kernelPackages = pkgs.linuxPackages_latest;
kernelParams = [ "mem_sleep_default=deep" ];
kernel.sysctl."vm.swappiness" = 5; kernel.sysctl."vm.swappiness" = 5;
cleanTmpDir = true; cleanTmpDir = true;
blacklistedKernelModules = [ "psmouse" ]; blacklistedKernelModules = [ "psmouse" ];