This repository has been archived on 2024-04-14. You can view files and clone it, but cannot push or open issues or pull requests.
nixos-dotfiles/flake.nix

129 lines
2.8 KiB
Nix
Raw Normal View History

2022-08-07 15:46:46 +01:00
{
description = "My personal dotfiles";
inputs = {
2022-08-21 01:18:19 +01:00
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
2023-08-24 06:03:47 +01:00
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
chaotic-nyx = {
url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-07-01 19:47:43 +01:00
nix-index-database = {
url = "github:Mic92/nix-index-database";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprland = {
url = "github:hyprwm/hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-05-26 02:42:33 +01:00
2023-08-13 20:24:57 +01:00
hyprland-contrib = {
url = "github:hyprwm/contrib";
inputs.nixpkgs.follows = "nixpkgs";
};
hyprpicker = {
url = "github:hyprwm/hyprpicker";
inputs.nixpkgs.follows = "nixpkgs";
};
2023-07-01 19:47:43 +01:00
gruvbox-kvantum = {
url = "github:thefallnn/Gruvbox-Kvantum";
flake = false;
};
fish-plugin-bobthefish = {
url = "github:oh-my-fish/theme-bobthefish";
flake = false;
};
fish-plugin-gruvbox-theme = {
url = "github:Jomik/fish-gruvbox";
flake = false;
};
2023-05-26 02:42:33 +01:00
2023-07-01 19:47:43 +01:00
nixd = {
url = "github:nix-community/nixd";
inputs.nixpkgs.follows = "nixpkgs";
};
openmw-git = {
url = "gitlab:OpenMW/openmw";
flake = false;
};
2023-09-24 01:42:00 +01:00
nvim-hmts = {
url = "github:calops/hmts.nvim";
flake = false;
};
2023-09-24 01:42:00 +01:00
gruvbox-plus-icon-pack = {
url = "github:SylEleuth/gruvbox-plus-icon-pack";
2023-07-01 19:47:43 +01:00
flake = false;
};
2023-09-24 01:42:00 +01:00
ags = {
url = "github:Aylur/ags";
inputs.nixpkgs.follows = "nixpkgs";
};
2022-08-21 01:18:19 +01:00
};
2022-08-14 21:20:39 +01:00
2023-10-08 10:51:15 +01:00
outputs = {
self,
nixpkgs,
home-manager,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
2023-10-08 10:51:15 +01:00
overlays = [
self.overlays.default
inputs.chaotic-nyx.overlays.default
inputs.hyprland-contrib.overlays.default
inputs.hyprpicker.overlays.default
inputs.nixd.overlays.default
];
};
in {
2023-10-09 16:12:39 +01:00
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
2023-10-08 10:51:15 +01:00
overlays = import ./overlay.nix {inherit inputs;};
nixosConfigurations.terra =
nixpkgs.lib.nixosSystem
{
2023-05-29 16:43:26 +01:00
inherit system;
2023-10-08 10:51:15 +01:00
inherit pkgs;
specialArgs = {inherit inputs;};
modules = [
./system/configuration.nix
home-manager.nixosModules.home-manager
{
home-manager = {
useUserPackages = true;
users.manuel = import ./user/home.nix;
extraSpecialArgs = {inherit inputs;};
useGlobalPkgs = true;
};
}
inputs.chaotic-nyx.nixosModules.default
inputs.hyprland.nixosModules.default
2023-05-29 16:43:26 +01:00
];
};
2023-10-08 10:51:15 +01:00
};
2022-08-07 15:46:46 +01:00
}