dotfiles/flake.nix

61 lines
1.5 KiB
Nix
Raw Normal View History

2023-10-31 12:20:02 +01:00
{
description = "My NixOS and home-manager configs";
inputs = {
# Nixpkgs
2024-01-10 11:54:07 +01:00
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
2023-10-31 12:20:02 +01:00
# Home manager
2024-01-10 11:54:07 +01:00
home-manager.url = "github:nix-community/home-manager/master";
2023-10-31 12:20:02 +01:00
home-manager.inputs.nixpkgs.follows = "nixpkgs";
2023-11-01 16:27:35 +01:00
2024-07-25 19:29:32 +02:00
# AGS
ags.url = "github:Aylur/ags";
ags.inputs.nixpkgs.follows = "nixpkgs";
2023-11-01 16:27:35 +01:00
# Neovim plugins not in nixpkgs
plugin-rainbow-delimiters-nvim.url = "gitlab:HiPhish/rainbow-delimiters.nvim";
plugin-rainbow-delimiters-nvim.flake = false;
plugin-undotree-nvim.url = "github:jiaoshijie/undotree";
plugin-undotree-nvim.flake = false;
2024-01-10 11:54:07 +01:00
plugin-harpoon1.url = "github:ThePrimeagen/harpoon";
plugin-harpoon1.flake = false;
2024-07-25 19:29:32 +02:00
hyprland.url = "github:hyprwm/hyprland";
2024-12-01 19:46:30 +01:00
nixos-cosmic.url = "github:lilyinstarlight/nixos-cosmic";
nixos-cosmic.inputs.nixpkgs.follows = "nixpkgs";
2023-10-31 12:20:02 +01:00
};
2024-01-10 11:54:07 +01:00
outputs =
{
self,
nixpkgs,
home-manager,
...
}@inputs:
2024-01-10 11:54:07 +01:00
let
inherit (self) outputs;
in
{
overlays = import ./overlays { inherit inputs; };
nixosConfigurations = {
"kalle-pc" = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs;
};
modules = [ ./hosts/kalle-pc ];
2024-01-10 11:54:07 +01:00
};
2024-02-29 11:25:56 +01:00
"kalle-laptop" = nixpkgs.lib.nixosSystem {
specialArgs = {
inherit inputs outputs;
};
2024-12-11 13:45:35 +01:00
modules = [ ./hosts/kalle-laptop ];
2024-02-29 11:25:56 +01:00
};
2023-10-31 12:20:02 +01:00
};
};
}