only use clipmenu with i3

This commit is contained in:
Cyryl Płotnicki 2023-03-26 10:49:44 +01:00
parent 9bfb975517
commit b92e80a630
2 changed files with 19 additions and 27 deletions

View file

@ -14,7 +14,6 @@
power-profiles-daemon.enable = true;
upower.enable = true;
fstrim.enable = true;
clipmenu.enable = true;
avahi = {
enable = true;

View file

@ -1,8 +1,4 @@
{
config,
pkgs,
...
}: {
{ config, pkgs, ... }: {
imports = [ ./autorandr.nix ./openweathermap-secrets.nix ];
environment.systemPackages = with pkgs; [ dconf ];
programs.dconf.enable = true;
@ -10,21 +6,17 @@
security.sudo.extraRules = [
{
users = [ "cyryl" ];
commands = [
{
commands = [{
command = "${pkgs.i3}/bin/i3-msg";
options = [ "NOPASSWD" ];
}
];
}];
}
{
users = [ "cyryl" ];
commands = [
{
commands = [{
command = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top";
options = [ "NOPASSWD" ];
}
];
}];
}
];
@ -34,6 +26,7 @@
};
services = {
clipmenu.enable = true;
physlock = {
enable = true;
allowAnyUser = true;