2023-03-09 18:49:28 +00:00
|
|
|
{
|
|
|
|
description = "~tsv's system config";
|
|
|
|
|
|
|
|
inputs = {
|
|
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
2023-03-09 20:16:16 +00:00
|
|
|
home-manager = {
|
|
|
|
url = "github:nix-community/home-manager";
|
|
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
|
|
};
|
2023-03-09 18:49:28 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
outputs = inputs@{ nixpkgs, home-manager, ... }: {
|
|
|
|
nixosConfigurations = {
|
|
|
|
ritchie = nixpkgs.lib.nixosSystem {
|
|
|
|
system = "x86_64-linux";
|
|
|
|
|
|
|
|
modules = [
|
|
|
|
./system/configuration.nix
|
2023-03-09 20:16:16 +00:00
|
|
|
|
|
|
|
home-manager.nixosModules.home-manager {
|
|
|
|
home-manager = {
|
|
|
|
useGlobalPkgs = true;
|
|
|
|
useUserPackages = true;
|
|
|
|
users.tsv = import users/tsv/home.nix;
|
|
|
|
};
|
|
|
|
}
|
2023-03-09 18:49:28 +00:00
|
|
|
];
|
|
|
|
};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|