nix-conf/flake.nix

39 lines
879 B
Nix
Raw Normal View History

{
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
home-manager = {
url = "github:nix-community/home-manager/master";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-04-10 16:47:36 +00:00
#nixvim = {
# url = "github:nix-community/nixvim";
# inputs.nixpkgs.follows = "nixpkgs";
#};
2024-03-28 09:22:32 +00:00
nv = {
url = "github:akr2002/nv";
inputs.nixpkgs.follows = "nixpkgs";
};
2024-04-02 04:04:39 +00:00
nyaa = {
url = "github:akr2002/nyaa";
inputs.nixpkgs.follows = "nixpkgs";
};
};
2024-04-02 04:04:39 +00:00
outputs = {
self,
nixpkgs,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
2024-04-02 04:04:39 +00:00
in {
nixosConfigurations.bridge = nixpkgs.lib.nixosSystem {
specialArgs = {inherit inputs;};
2024-04-02 04:04:39 +00:00
modules = [
2024-04-11 06:22:21 +00:00
./hosts/default/configuration.nix
inputs.home-manager.nixosModules.default
];
};
};
}