32 lines
810 B
Nix
Executable File
32 lines
810 B
Nix
Executable File
{
|
|
description = "sam: NixOS + Home Manager config (aspire-laptop)";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
home-manager.url = "github:nix-community/home-manager/release-25.11";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs =
|
|
{ self, nixpkgs, home-manager }:
|
|
let
|
|
system = "x86_64-linux";
|
|
in
|
|
{
|
|
nixosConfigurations.aspire-laptop = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
|
|
modules = [
|
|
./hosts/aspire-laptop/configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
|
|
({ ... }: {
|
|
home-manager.useGlobalPkgs = true;
|
|
home-manager.useUserPackages = true;
|
|
home-manager.users.sam = import ./home/sam/home.nix;
|
|
})
|
|
];
|
|
};
|
|
};
|
|
}
|