nix-config/hosts/leopold/default.nix

61 lines
1.2 KiB
Nix

{
inputs,
outputs,
lib,
config,
pkgs,
heliox-cli,
...
}: {
imports = [
inputs.hardware.nixosModules.framework-13th-gen-intel
inputs.hardware.nixosModules.common-pc-ssd
./hardware-configuration.nix
../common/global
../common/optional/desktop/awesome.nix
../common/optional/systemd-boot.nix
../common/optional/wireshark.nix
../common/optional/gnome-keyring.nix
../common/optional/adb.nix
../common/optional/docker.nix
../common/optional/desktop/japanese.nix
../common/optional/udisks.nix
];
nix.extraOptions = ''
download-speed = 4000
'';
nixpkgs = {
overlays = [
outputs.overlays.additions
outputs.overlays.modifications
outputs.overlays.unstable-packages
];
config = {
allowUnfree = true;
firefox.enablePlasmaBrowserIntegration = true;
};
};
networking.hostName = "adalbert";
# For updating Framework firmware
services.fwupd.enable = true;
programs = {
adb.enable = true;
dconf.enable = true;
};
hardware = {
opengl.enable = true;
opentabletdriver.enable = true;
};
# https://nixos.wiki/wiki/FAQ/When_do_I_update_stateVersion
system.stateVersion = "23.11";
}