os/hosts/biolimo/biolimo.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
1.3 KiB
Nix
Raw Normal View History

2023-01-28 21:27:52 +00:00
{
config,
pkgs,
lib,
...
}:
with lib; let
2021-09-02 18:55:17 +00:00
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
2023-01-28 21:27:52 +00:00
in {
2021-09-02 18:55:17 +00:00
imports = [
./configuration.nix
];
config = {
2022-08-24 16:45:34 +00:00
pub-solar.paranoia.enable = true;
pub-solar.core.hibernation.resumeDevice = "/dev/dm-0";
pub-solar.core.hibernation.resumeOffset = 15296512;
2021-09-02 18:55:17 +00:00
hardware.cpu.intel.updateMicrocode = true;
2022-10-03 01:56:53 +00:00
networking.networkmanager.wifi.backend = mkForce "wpa_supplicant";
2022-10-03 00:53:40 +00:00
services.printing.drivers = [
pkgs.cups-brother-hl3140cw
];
2023-01-28 21:27:52 +00:00
home-manager = with pkgs;
pkgs.lib.setAttrByPath ["users" psCfg.user.name] {
xdg.configFile = mkIf psCfg.sway.enable {
"sway/config.d/10-screens.conf".source = ./.config/sway/config.d/screens.conf;
"sway/config.d/10-autostart.conf".source = ./.config/sway/config.d/autostart.conf;
"sway/config.d/10-input-defaults.conf".source = ./.config/sway/config.d/input-defaults.conf;
"sway/config.d/10-custom-keybindings.conf".source = ./.config/sway/config.d/custom-keybindings.conf;
};
2022-10-03 13:51:38 +00:00
2023-01-28 21:27:52 +00:00
home.packages = [
inkscape
];
};
2023-07-05 12:09:51 +00:00
# For OpenProject development with https
security.pki.certificates = [
(builtins.readFile ./step-roots.pem)
];
2021-09-02 18:55:17 +00:00
};
}