hydra-jovian/flake.nix

45 lines
1.0 KiB
Nix
Raw Normal View History

2023-04-26 00:09:24 +02:00
{
description = "A very basic flake";
inputs = {
jovian = {
url = "github:Jovian-Experiments/Jovian-NixOS";
flake = false;
};
nixpkgs.url = "github:NixOS/nixpkgs/nixos-22.11";
};
outputs = { jovian, nixpkgs, ... }:
let inherit (nixpkgs) lib; in
{
nixosConfigurations.jovian = lib.nixosSystem {
modules = [
"${jovian}/modules"
{
# avoid asserts ...
boot.loader.grub.devices = [ "/dev/sda" ];
fileSystems."/".device = "/dev/sda1";
# ... and warnings ...
networking.networkmanager.enable = true;
system.stateVersion = "23.05";
# ... and build unfree packages
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-jupiter-original"
"steam-run"
"steamdeck-hw-theme"
];
jovian.steam.enable = true;
}
];
system = "x86_64-linux";
};
};
}