dotfiles/flake.nix

69 lines
1.7 KiB
Nix
Raw 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,
home-manager,
hyprland,
eww,
osu-nixos,
...
} : {
nixosConfigurations = {
lappy = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = { inherit inputs; };
modules = [
./configuration.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 = [
./configuration.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 = {
nixpkgs = {
2023-08-05 21:03:24 -07:00
url = "github:NixOS/nixpkgs/nixos-unstable";
2023-08-05 18:44:35 -07:00
};
2023-08-05 21:03:24 -07:00
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
};
hyprland.url = "github:hyprwm/Hyprland";
2024-01-20 17:53:24 -08:00
eww.url = "github:elkowar/eww";
osu-nixos.url = "github:Asqiir/osu-nixos";
2023-08-05 18:44:35 -07:00
};
}