From b58ae611b68bde4e884a9b6fbfb4d9421d486b36 Mon Sep 17 00:00:00 2001 From: Rouven Seifert Date: Fri, 2 Jun 2023 22:21:36 +0200 Subject: [PATCH] enabled polkit --- flake.lock | 36 ++++++++++++++++++------------------ hosts/thinkpad/default.nix | 2 ++ hosts/thinkpad/test.txt | 1 + 3 files changed, 21 insertions(+), 18 deletions(-) create mode 100644 hosts/thinkpad/test.txt diff --git a/flake.lock b/flake.lock index 44e4b6c..8dcb967 100644 --- a/flake.lock +++ b/flake.lock @@ -165,11 +165,11 @@ ] }, "locked": { - "lastModified": 1685573051, - "narHash": "sha256-zrpbdQVJFpNVFK3SlA6mE0le8qnKjUjcuY4OzL+wSHw=", + "lastModified": 1685721552, + "narHash": "sha256-ifvq/zlO7lck8q+YkC5uom/h8/MVdMcQEldOL3cDQW0=", "owner": "nix-community", "repo": "home-manager", - "rev": "3876cc613ac3983078964ffb5a0c01d00028139e", + "rev": "29519461834c08395b35f840811faf8c23e3b61c", "type": "github" }, "original": { @@ -185,11 +185,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1685632091, - "narHash": "sha256-RAfDARolNWT4ZF8IH6WwVd2s0jMuaA9zUPeb+I8/L1A=", + "lastModified": 1685729674, + "narHash": "sha256-i5+/bAZVmCbeIKmnwyd2DG3mGrP4LOJWbsU7nJ1lzuA=", "owner": "hyprwm", "repo": "Hyprland", - "rev": "9cf72a30fc040f0bd2fb4651ec7f8e82df962278", + "rev": "871ab24c6e9d2fb6e48cbf990ddddf0c46a950af", "type": "github" }, "original": { @@ -268,11 +268,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1685349926, - "narHash": "sha256-c1rKI1glJWdJIPefp9aiyhAkEZ4Sc6Rh/J5VumEXu1M=", + "lastModified": 1685709197, + "narHash": "sha256-ASoXZVoXj6L9PzNDfuDrAxrqaDuH7e1qTzdzkOODu4M=", "owner": "nix-community", "repo": "lanzaboote", - "rev": "2e62c11babeead4b26efbb7f2cd4488baaa2e897", + "rev": "e422970c1bc3351bb7a20cf6e30e78d975280ed3", "type": "github" }, "original": { @@ -336,11 +336,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1685383865, - "narHash": "sha256-3uQytfnotO6QJv3r04ajSXbEFMII0dUtw0uqYlZ4dbk=", + "lastModified": 1685655444, + "narHash": "sha256-6EujQNAeaUkWvpEZZcVF8qSfQrNVWFNNGbUJxv/A5a8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "5e871d8aa6f57cc8e0dc087d1c5013f6e212b4ce", + "rev": "e635192892f5abbc2289eaac3a73cdb249abaefd", "type": "github" }, "original": { @@ -414,11 +414,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1685564631, - "narHash": "sha256-8ywr3AkblY4++3lIVxmrWZFzac7+f32ZEhH/A8pNscI=", + "lastModified": 1685655444, + "narHash": "sha256-6EujQNAeaUkWvpEZZcVF8qSfQrNVWFNNGbUJxv/A5a8=", "owner": "NixOS", "repo": "nixpkgs", - "rev": "4f53efe34b3a8877ac923b9350c874e3dcd5dc0a", + "rev": "e635192892f5abbc2289eaac3a73cdb249abaefd", "type": "github" }, "original": { @@ -618,11 +618,11 @@ "flake": false, "locked": { "host": "gitlab.freedesktop.org", - "lastModified": 1685491729, - "narHash": "sha256-YfpP8tKpcr0Lxlr3PdoMaY3GD/uJRl6E5pp5KQCEuzg=", + "lastModified": 1685723274, + "narHash": "sha256-mjETVZbVheaSO0VRKQHWYAHcoKwYu0WZ0vhKVN7vyRo=", "owner": "wlroots", "repo": "wlroots", - "rev": "3f0487d310974f6ff889ca80e4fb4005553814ed", + "rev": "6668c822b3bf58ca5af5d370ef03b075be3e4d27", "type": "gitlab" }, "original": { diff --git a/hosts/thinkpad/default.nix b/hosts/thinkpad/default.nix index 622ce7c..4366046 100755 --- a/hosts/thinkpad/default.nix +++ b/hosts/thinkpad/default.nix @@ -87,6 +87,8 @@ #hardware.pulseaudio.enable = true; hardware.bluetooth.enable = true; + security.polkit.enable = true; + services.pipewire = { enable = true; alsa.enable = true; diff --git a/hosts/thinkpad/test.txt b/hosts/thinkpad/test.txt new file mode 100644 index 0000000..d00491f --- /dev/null +++ b/hosts/thinkpad/test.txt @@ -0,0 +1 @@ +1