dotfiles/nixos/i3/default.nix
2021-06-27 13:05:29 +01:00

45 lines
935 B
Nix

{ config, pkgs, ... }:
{
environment.systemPackages = with pkgs; [
gnome3.dconf
];
programs.dconf.enable = true;
security.sudo.extraRules = [
{
users = [ "cyryl" ];
commands = [ { command = "${pkgs.i3}/bin/i3-msg"; options = [ "NOPASSWD" ]; } ];
}
{
users = [ "cyryl" ];
commands = [ { command = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top"; options = [ "NOPASSWD" ]; } ];
}
];
services = {
physlock = {
enable = true;
allowAnyUser = true;
};
dbus = {
packages = with pkgs; [ gnome2.GConf gnome3.dconf ];
};
fractalart.enable = true;
colord.enable = true;
xserver.windowManager.i3.enable = true;
xserver.displayManager.sddm = {
enable = true;
enableHidpi = true;
};
};
home-manager.users.cyryl = {...}: {
imports = [
./home.nix
];
home.packages = with pkgs; [
firefox
];
};
}