nixos/flake.nix

23 lines
548 B
Nix
Raw Normal View History

2023-07-05 22:32:26 +04:00
# load stuff
{
description = "horrible dotfiles for amazing distro";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.05";
home-manager.url = "github:nix-community/home-manager/release-23.05";
2023-07-06 01:53:58 +04:00
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2023-07-05 22:32:26 +04:00
};
2023-07-05 22:49:44 +04:00
outputs = { self, nixpkgs, ...}@attrs: {
2023-07-05 22:32:26 +04:00
nixosConfigurations = {
# TODO(sako)::rename this
2023-07-06 02:02:21 +04:00
sakotop = nixpkgs.lib.nixosSystem {
2023-07-05 22:32:26 +04:00
system = "x86_64-linux";
2023-07-05 22:49:44 +04:00
specialArgs = attrs;
2023-07-06 02:15:58 +04:00
modules = [ ./hosts/sakotop ];
2023-07-05 22:32:26 +04:00
};
};
};
}