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

87 lines
2.1 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;
2025-08-03 04:02:00 +02:00
work-proxy.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} =
2024-10-16 09:08:35 +02:00
{ ... }:
2024-08-20 22:58:24 +02:00
{
services.network-manager-applet.enable = true;
services.blueman-applet.enable = true;
wayland.windowManager.hyprland.settings = {
2024-12-19 02:49:39 +01:00
workspace = [
"w[tv1], gapsout:0, gapsin:0"
"f[1], gapsout:0, gapsin:0"
];
windowrulev2 = [
"bordersize 0, floating:0, onworkspace:w[tv1]"
"rounding 0, floating:0, onworkspace:w[tv1]"
"bordersize 0, floating:0, onworkspace:f[1]"
"rounding 0, floating:0, onworkspace:f[1]"
];
2024-08-20 22:58:24 +02:00
};
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
};
};
2024-12-19 02:36:05 +01:00
nix = {
distributedBuilds = true;
buildMachines = [
{
hostName = "hel1.banditlair.com";
sshUser = "nix-ssh";
system = "x86_64-linux";
supportedFeatures = [
"nixos-test"
"benchmark"
"big-parallel"
"kvm"
];
}
];
settings = {
substituters = [ "ssh://nix-ssh@hel1.banditlair.com" ];
trusted-public-keys = [ "hel1.banditlair.com:stzB4xe5QTFvSABoP11ZpNzLDCRZ93PExk0Z/gOzW3g=" ];
builders-use-substitutes = true;
};
};
2023-03-20 22:35:11 +01:00
system.stateVersion = "21.05";
}