nixos-configs/hosts/froidmpa-laptop/default.nix

55 lines
1.2 KiB
Nix
Raw Normal View History

2024-08-20 22:58:24 +02:00
{ config, ... }:
{
2023-03-21 23:13:37 +01:00
imports = [ ./hardware-configuration.nix ];
2023-03-20 22:35:11 +01:00
2023-03-22 19:14:44 +01:00
modules = {
2024-07-12 00:11:55 +02:00
desktop.wm.enable = true;
2023-03-22 19:14:44 +01:00
editor = {
vim.enable = true;
emacs.enable = true;
};
services = {
flatpak.enable = true;
belgian-eid.enable = true;
docker.enable = true;
libvirt.enable = true;
2023-07-10 21:40:21 +02:00
languagetool.enable = true;
2023-03-22 19:14:44 +01:00
};
2023-03-23 19:01:42 +01:00
media = {
mpd.enable = true;
ncmpcpp.enable = true;
};
2023-03-22 19:14:44 +01:00
};
2023-03-23 01:56:21 +01:00
# Monitor backlight control
programs.light.enable = true;
users.users.${config.user.name}.extraGroups = [ "video" ];
2023-03-23 02:48:46 +01:00
services.tlp.enable = true;
2024-08-20 22:58:24 +02:00
home-manager.users.${config.user.name} =
{ _ }:
{
services.network-manager-applet.enable = true;
services.blueman-applet.enable = true;
wayland.windowManager.hyprland.settings = {
dwindle.no_gaps_when_only = 1;
};
2024-06-23 05:34:29 +02:00
};
2023-03-20 22:35:11 +01:00
2024-06-23 05:34:29 +02:00
services.pipewire.wireplumber.extraConfig = {
"monitor.bluez.properties" = {
"bluez5.enable-sbc-xq" = true;
"bluez5.enable-msbc" = true;
"bluez5.enable-hw-volume" = true;
2024-08-20 22:58:24 +02:00
"bluez5.roles" = [
"hsp_hs"
"hsp_ag"
"hfp_hf"
"hfp_ag"
];
2024-06-23 05:34:29 +02:00
};
};
2023-03-20 22:35:11 +01:00
system.stateVersion = "21.05";
}