2024-12-28 20:37:57 -08:00
|
|
|
{
|
|
|
|
description = "A simple NixOS flake";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
# NixOS official package source, using the nixos-24.11 branch here
|
2025-01-21 22:31:00 -08:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager/release-24.11";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2024-12-28 20:37:57 -08:00
|
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-24.11";
|
2025-01-02 06:35:32 -08:00
|
|
|
sovr.url = "git+file:///home/eliribble/src/sovr.cloud";
|
2024-12-28 20:37:57 -08:00
|
|
|
};
|
|
|
|
|
2025-01-21 22:31:00 -08:00
|
|
|
outputs = { self, home-manager, nixpkgs, sovr, ... }@inputs: {
|
2024-12-28 20:37:57 -08:00
|
|
|
nixosConfigurations.sovr = nixpkgs.lib.nixosSystem {
|
2025-01-02 06:20:14 -08:00
|
|
|
specialArgs = { inherit inputs; };
|
2024-12-28 20:37:57 -08:00
|
|
|
system = "x86_64-linux";
|
|
|
|
modules = [
|
|
|
|
# Import the previous configuration.nix we used,
|
|
|
|
# so the old configuration file still takes effect
|
|
|
|
./configuration.nix
|
2025-01-21 22:31:00 -08:00
|
|
|
home-manager.nixosModules.home-manager
|
|
|
|
{
|
|
|
|
home-manager.useGlobalPkgs = true;
|
|
|
|
home-manager.useUserPackages = true;
|
|
|
|
home-manager.users.eliribble = import ./home.nix;
|
|
|
|
}
|
2024-12-28 20:37:57 -08:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|