dotfiles/flake.nix

98 lines
2.8 KiB
Nix
Raw Permalink Normal View History

2023-08-05 18:44:35 -07:00
{
description = "System Configuration Flake";
2024-01-20 17:53:24 -08:00
outputs = inputs@{
nixpkgs,
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 = [
./packages/default.nix
2024-02-25 19:55:49 -08:00
./hosts/malachite/default.nix
./users/stitchynyan/default.nix
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-03-31 01:40:08 -07:00
scarab = nixpkgs.lib.nixosSystem {
system = "aarch64-linux";
modules = [
{ _module.args = { inherit inputs; }; }
(import "${inputs.mobile-nixos}/lib/configuration.nix" {
device = "oneplus-enchilada";
})
./packages/default.nix
./hosts/scarab/default.nix
2024-04-01 14:37:49 -07:00
./users/stitchynyan/default.nix
2024-03-31 01:40:08 -07:00
];
};
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
./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 = [
./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-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-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";
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
};
}