pub-solar-os/hosts/biolimo/biolimo.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

2021-09-02 18:55:17 +00:00
{ config, pkgs, lib, ... }:
with lib;
let
psCfg = config.pub-solar;
xdg = config.home-manager.users."${psCfg.user.name}".xdg;
in
{
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;
2021-09-04 13:56:44 +00:00
networking.firewall.allowedTCPPorts = [ 5000 ];
2021-09-02 18:55:17 +00:00
2022-10-03 01:56:53 +00:00
networking.networkmanager.wifi.backend = mkForce "wpa_supplicant";
2022-10-03 00:53:40 +00:00
2022-10-03 13:51:38 +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;
};
home.packages = [
inkscape
];
2021-09-02 18:55:17 +00:00
};
};
}