42 lines
1016 B
Nix
42 lines
1016 B
Nix
{
|
|
|
|
description = "Autumn's laptop config";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
|
|
home-manager.url = "github:nix-community/home-manager";
|
|
home-manager.inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager }@inputs:
|
|
|
|
let
|
|
username = "autumn";
|
|
system = "x86_64-linux";
|
|
timezone = "America/Denver";
|
|
locale = "en_US.UTF-8";
|
|
|
|
in {
|
|
|
|
homeConfigurations.${username} = home-manager.lib.homeManagerConfiguration {
|
|
pkgs = nixpkgs.legacyPackages.${system};
|
|
extraSpecialArgs = {inherit inputs;};
|
|
modules = [ ./home-manager/autumn/home.nix ];
|
|
|
|
};
|
|
|
|
nixosConfigurations."yukigekko" = nixpkgs.lib.nixosSystem{
|
|
specialArgs = {
|
|
inherit inputs;
|
|
inherit system;
|
|
inherit username;
|
|
inherit timezone;
|
|
inherit locale;
|
|
};
|
|
modules = [
|
|
./system/nixos/configuration.nix
|
|
];
|
|
};
|
|
};
|
|
}
|