2022-12-19 09:09:08 +00:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
pkgs,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
imports = [./autorandr.nix ./openweathermap-secrets.nix];
|
|
|
|
environment.systemPackages = with pkgs; [dconf];
|
2020-03-29 21:28:01 +01:00
|
|
|
programs.dconf.enable = true;
|
2020-05-31 12:40:39 +01:00
|
|
|
|
2021-05-16 13:06:22 +01:00
|
|
|
security.sudo.extraRules = [
|
2021-06-27 13:05:29 +01:00
|
|
|
{
|
2022-12-19 09:09:08 +00:00
|
|
|
users = ["cyryl"];
|
|
|
|
commands = [
|
|
|
|
{
|
|
|
|
command = "${pkgs.i3}/bin/i3-msg";
|
|
|
|
options = ["NOPASSWD"];
|
|
|
|
}
|
|
|
|
];
|
2021-06-27 13:05:29 +01:00
|
|
|
}
|
2021-05-16 13:06:22 +01:00
|
|
|
{
|
2022-12-19 09:09:08 +00:00
|
|
|
users = ["cyryl"];
|
|
|
|
commands = [
|
|
|
|
{
|
|
|
|
command = "${pkgs.intel-gpu-tools}/bin/intel_gpu_top";
|
|
|
|
options = ["NOPASSWD"];
|
|
|
|
}
|
|
|
|
];
|
2021-05-16 13:06:22 +01:00
|
|
|
}
|
|
|
|
];
|
|
|
|
|
2022-08-14 11:07:06 +01:00
|
|
|
xdg.portal = {
|
|
|
|
enable = true;
|
2022-12-19 09:09:08 +00:00
|
|
|
extraPortals = with pkgs; [xdg-desktop-portal-gtk xdg-desktop-portal-kde];
|
2022-08-14 11:07:06 +01:00
|
|
|
};
|
|
|
|
|
2020-01-03 17:28:21 +00:00
|
|
|
services = {
|
2020-01-04 12:13:49 +00:00
|
|
|
physlock = {
|
|
|
|
enable = true;
|
|
|
|
allowAnyUser = true;
|
|
|
|
};
|
|
|
|
|
2022-12-19 09:09:08 +00:00
|
|
|
dbus = {packages = with pkgs; [gnome2.GConf dconf];};
|
2020-07-25 08:46:56 +01:00
|
|
|
|
2020-05-08 22:27:48 +01:00
|
|
|
fractalart.enable = true;
|
2020-01-03 17:28:21 +00:00
|
|
|
colord.enable = true;
|
2020-04-12 17:19:17 +01:00
|
|
|
xserver.windowManager.i3.enable = true;
|
2020-01-03 17:28:21 +00:00
|
|
|
xserver.displayManager.sddm = {
|
|
|
|
enable = true;
|
|
|
|
enableHidpi = true;
|
|
|
|
};
|
|
|
|
};
|
2022-12-19 09:09:08 +00:00
|
|
|
home-manager.users.cyryl = {...}: {
|
|
|
|
imports = [./home.nix];
|
|
|
|
home.packages = with pkgs; [];
|
2020-08-16 11:39:21 +01:00
|
|
|
};
|
2020-01-03 17:28:21 +00:00
|
|
|
}
|