2023-08-05 18:44:35 -07:00
|
|
|
{
|
|
|
|
description = "System Configuration Flake";
|
|
|
|
|
2024-01-20 17:53:24 -08:00
|
|
|
|
|
|
|
outputs = inputs@{
|
|
|
|
nixpkgs,
|
2024-08-08 04:52:13 -07:00
|
|
|
nixpkgs-xr,
|
2024-03-31 03:10:47 -07:00
|
|
|
nixos-hardware,
|
2024-01-20 17:53:24 -08:00
|
|
|
home-manager,
|
|
|
|
osu-nixos,
|
|
|
|
...
|
|
|
|
} : {
|
|
|
|
|
|
|
|
nixosConfigurations = {
|
2024-02-25 19:55:49 -08:00
|
|
|
malachite = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
|
2024-03-26 20:47:54 -07:00
|
|
|
./packages/default.nix
|
2024-02-25 19:55:49 -08:00
|
|
|
./hosts/malachite/default.nix
|
|
|
|
./users/stitchynyan/default.nix
|
2024-08-08 04:52:13 -07:00
|
|
|
nixpkgs-xr.nixosModules.nixpkgs-xr
|
2024-02-25 19:55:49 -08:00
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.extraSpecialArgs = {inherit inputs;};
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.stitchynyan = import ./users/stitchynyan/home.nix;
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
2024-01-20 17:53:24 -08:00
|
|
|
lappy = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
2024-03-31 03:10:47 -07:00
|
|
|
nixos-hardware.nixosModules.framework-12th-gen-intel
|
2024-01-20 17:53:24 -08:00
|
|
|
|
2024-03-26 20:47:54 -07:00
|
|
|
./packages/default.nix
|
2024-02-01 21:02:08 -08:00
|
|
|
./hosts/lappy/default.nix
|
2024-02-01 20:50:59 -08:00
|
|
|
./users/stitchynyan/default.nix
|
2024-01-20 17:53:24 -08:00
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
2024-02-01 20:50:59 -08:00
|
|
|
{
|
2024-01-20 17:53:24 -08:00
|
|
|
home-manager.extraSpecialArgs = {inherit inputs;};
|
2024-02-01 21:02:08 -08:00
|
|
|
home-manager.useGlobalPkgs = true;
|
2024-01-20 17:53:24 -08:00
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.stitchynyan = import ./users/stitchynyan/home.nix;
|
2024-02-01 21:02:08 -08:00
|
|
|
}
|
2024-01-20 17:53:24 -08:00
|
|
|
];
|
|
|
|
};
|
2024-01-23 22:27:45 -08:00
|
|
|
gemini = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
specialArgs = { inherit inputs; };
|
|
|
|
modules = [
|
|
|
|
|
2024-03-26 20:47:54 -07:00
|
|
|
./packages/default.nix
|
2024-02-01 21:02:08 -08:00
|
|
|
./hosts/gemini/default.nix
|
2024-02-01 20:50:59 -08:00
|
|
|
./users/nyadmin/default.nix
|
2024-05-02 21:47:19 -07:00
|
|
|
./users/cirno/default.nix
|
2024-01-23 22:27:45 -08:00
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager
|
2024-02-01 20:50:59 -08:00
|
|
|
{
|
2024-01-23 22:27:45 -08:00
|
|
|
home-manager.extraSpecialArgs = {inherit inputs;};
|
2024-02-01 21:02:08 -08:00
|
|
|
home-manager.useGlobalPkgs = true;
|
2024-01-23 22:27:45 -08:00
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.nyadmin = import ./users/nyadmin/home.nix;
|
2024-05-02 21:47:19 -07:00
|
|
|
home-manager.users.cirno = import ./users/cirno/home.nix;
|
2024-02-01 21:02:08 -08:00
|
|
|
}
|
2024-01-23 22:27:45 -08:00
|
|
|
];
|
|
|
|
};
|
2024-01-20 17:53:24 -08:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2023-08-05 18:44:35 -07:00
|
|
|
inputs = {
|
2023-08-06 09:25:52 -07:00
|
|
|
home-manager = {
|
2023-08-05 21:03:24 -07:00
|
|
|
url = "github:nix-community/home-manager/master";
|
2023-08-06 09:25:52 -07:00
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
2023-08-05 21:03:24 -07:00
|
|
|
};
|
2024-03-31 03:10:47 -07:00
|
|
|
mobile-nixos = {
|
|
|
|
url = "github:nixos/mobile-nixos";
|
|
|
|
flake = false;
|
|
|
|
};
|
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
2024-08-08 04:52:13 -07:00
|
|
|
nixpkgs-xr.url = "github:nix-community/nixpkgs-xr";
|
2024-03-31 03:10:47 -07:00
|
|
|
nixos-hardware.url = "github:Nixos/nixos-hardware/master";
|
2024-01-20 17:53:24 -08:00
|
|
|
osu-nixos.url = "github:Asqiir/osu-nixos";
|
2023-08-05 18:44:35 -07:00
|
|
|
};
|
|
|
|
}
|