dotfiles/nixos/i3/default.nix
2021-11-04 08:39:27 +00:00

48 lines
974 B
Nix

{ config, pkgs, ... }:
{
imports = [
./autorandr.nix
];
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
];
};
}