From a2834818aadd2fe6a35c207c4c18b321007f0c1d Mon Sep 17 00:00:00 2001 From: Bad Date: Tue, 24 May 2022 19:33:25 +0200 Subject: [PATCH] Disable auto sleep --- flake.lock | 38 ++++++++++++++++---------------- users/profiles/sway/swayidle.nix | 2 +- 2 files changed, 20 insertions(+), 20 deletions(-) diff --git a/flake.lock b/flake.lock index 2a95e34..4ce041e 100644 --- a/flake.lock +++ b/flake.lock @@ -163,11 +163,11 @@ "rust-analyzer-src": "rust-analyzer-src" }, "locked": { - "lastModified": 1653200835, - "narHash": "sha256-t/iorpsapAH97RAMyv3+5wF+qmwC96WKwKDCWtnt70k=", + "lastModified": 1653373690, + "narHash": "sha256-tscCedoPZHrIV2OgRaQ8N8UWqQVXgc1W5ryL4X5RB2M=", "owner": "nix-community", "repo": "fenix", - "rev": "4853925d5169226c72d9f93b9feacff0250b1959", + "rev": "520c4d4d54bd8614d4493c9c1d3952e32d801096", "type": "github" }, "original": { @@ -294,11 +294,11 @@ ] }, "locked": { - "lastModified": 1653153149, - "narHash": "sha256-8B/tWWZziFq4DqnAm9uO7M4Z4PNfllYg5+teX1e5yDQ=", + "lastModified": 1653340164, + "narHash": "sha256-t6BPApyasx6FOv2cEVyFBXvkEDrknyUe7bngMbNSBkA=", "owner": "nix-community", "repo": "home-manager", - "rev": "94780dd888881bf35165dfdd334a57ef6b14ead8", + "rev": "e66f0ff69a6c0698b35034b842c4b68814440778", "type": "github" }, "original": { @@ -377,10 +377,10 @@ }, "nixpkgs": { "locked": { - "lastModified": 1652881001, - "narHash": "sha256-k9JmPCojaJnqGz4aRXXT1HZqJKHCXijoMfBAb24abXk=", - "path": "/nix/store/q3d922m77nyfyx25lb07041pr928jb5x-source", - "rev": "2d474d6a4a43a0348b78db68dc00c491032cf5cf", + "lastModified": 1653087707, + "narHash": "sha256-zfno3snrzZTWQ2B7K53QHrGZwrjnJLTRPalymrSsziU=", + "path": "/nix/store/3g25cg20m43hvsy17d7nz0jxwk79a77w-source", + "rev": "cbd40c72b2603ab54e7208f99f9b35fc158bc009", "type": "path" }, "original": { @@ -390,11 +390,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1653117584, - "narHash": "sha256-5uUrHeHBIaySBTrRExcCoW8fBBYVSDjDYDU5A6iOl+k=", + "lastModified": 1653326962, + "narHash": "sha256-W8feCYqKTsMre4nAEpv5Kx1PVFC+hao/LwqtB2Wci/8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "f4dfed73ee886b115a99e5b85fdfbeb683290d83", + "rev": "41cc1d5d9584103be4108c1815c350e07c807036", "type": "github" }, "original": { @@ -406,11 +406,11 @@ }, "nixpkgs_3": { "locked": { - "lastModified": 1652885393, - "narHash": "sha256-YIgvvlk4iQ1Hi7KD9o5gsojc+ApB+jiH1d5stK8uXiw=", + "lastModified": 1653060744, + "narHash": "sha256-kfRusllRumpt33J1hPV+CeCCylCXEU7e0gn2/cIM7cY=", "owner": "nixos", "repo": "nixpkgs", - "rev": "48037fd90426e44e4bf03e6479e88a11453b9b66", + "rev": "dfd82985c273aac6eced03625f454b334daae2e8", "type": "github" }, "original": { @@ -463,11 +463,11 @@ "rust-analyzer-src": { "flake": false, "locked": { - "lastModified": 1653147556, - "narHash": "sha256-MPZ34kE+GshaghPmY5zBTTameRX33IoUHrrYa+H8UbI=", + "lastModified": 1653339329, + "narHash": "sha256-PqtUX+gbBjh/+jaEBrRxqV35Vrk4makbacfvbcyEMfE=", "owner": "rust-lang", "repo": "rust-analyzer", - "rev": "3de03d4c61d2405b66337b96ea97aa21f7d04e4b", + "rev": "81805d4cfc2bb307d911806dffb6eabf29b623e3", "type": "github" }, "original": { diff --git a/users/profiles/sway/swayidle.nix b/users/profiles/sway/swayidle.nix index 639899e..a26fdd9 100644 --- a/users/profiles/sway/swayidle.nix +++ b/users/profiles/sway/swayidle.nix @@ -7,7 +7,7 @@ { event = "before-sleep"; command = "${scripts.lockscreen}/bin/lockscreen"; } ]; timeouts = [ - { timeout = 300; command = "systemctl suspend"; } +# { timeout = 300; command = "systemctl suspend"; } ]; }; }