2024-03-09 17:41:02 -08:00
|
|
|
# /etc/nixos/flake.nix
|
|
|
|
{
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
};
|
2024-03-23 11:31:50 -07:00
|
|
|
outputs = { nixpkgs, ... }:
|
|
|
|
let
|
|
|
|
pkgs = import nixpkgs { system = "x86_64-linux";
|
|
|
|
overlays = [
|
|
|
|
( final: prev: {
|
|
|
|
jetbrains.phpstorm = prev.jetbrains.phpstorm.overrideAttrs (old: {
|
|
|
|
src = prev.fetchFromGithub {
|
|
|
|
owner = "freelock";
|
|
|
|
repo = "nixpkgs";
|
|
|
|
rev = "b324cfea863d9191518b96774e1317a6d933075f";
|
|
|
|
hash ="";
|
|
|
|
};
|
|
|
|
});
|
|
|
|
} )
|
|
|
|
];
|
|
|
|
};
|
|
|
|
in {
|
|
|
|
nixosConfigurations.valhalla = pkgs.nixos {
|
|
|
|
imports = [ ./hosts/desktop/valhalla/configuration.nix ];
|
2024-03-09 17:41:02 -08:00
|
|
|
};
|
2024-03-19 08:04:49 -07:00
|
|
|
nixosConfigurations.katmai = nixpkgs.lib.nixosSystem {
|
|
|
|
# NOTE: Change this to aarch64-linux if you are on ARM
|
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [ ./hosts/desktop/katmai/configuration.nix ];
|
|
|
|
};
|
2024-03-09 17:41:02 -08:00
|
|
|
};
|
|
|
|
}
|