Nix-Config/flake.nix

32 lines
721 B
Nix
Raw Normal View History

2023-03-09 18:49:28 +00:00
{
description = "~tsv's system config";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
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
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
];
};
};
};
}