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

99 lines
2.6 KiB
Nix
Executable File

{
description = "My personal dotfiles";
inputs = {
nixpkgs.url = "nixpkgs/nixpkgs-unstable";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
chaotic-nyx.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
nix-index-database.url = "github:Mic92/nix-index-database";
nix-index-database.inputs.nixpkgs.follows = "nixpkgs";
hyprland.url = "github:hyprwm/hyprland";
hyprland.inputs.nixpkgs.follows = "nixpkgs";
hyprland-contrib.url = "github:hyprwm/contrib";
eww-systray.url = "github:ralismark/eww/tray-3";
eww-systray.inputs.nixpkgs.follows = "nixpkgs";
nur.url = "github:nix-community/NUR";
helix.url = "github:helix-editor/helix";
helix.inputs.nixpkgs.follows = "nixpkgs";
firefox-nightly.url = "github:nix-community/flake-firefox-nightly";
gruvbox-kvantum.url = "github:thefallnn/Gruvbox-Kvantum";
gruvbox-kvantum.flake = false;
fish-plugin-bobthefish.url = "github:oh-my-fish/theme-bobthefish";
fish-plugin-bobthefish.flake = false;
fish-plugin-gruvbox-theme.url = "github:Jomik/fish-gruvbox";
fish-plugin-gruvbox-theme.flake = false;
gruvbox-plus-icon-pack.url = "github:SylEleuth/gruvbox-plus-icon-pack";
gruvbox-plus-icon-pack.flake = false;
openmw-git.url = "gitlab:OpenMW/openmw";
openmw-git.flake = false;
mygui-git.url = "github:mygui/MyGUI/dae9ac4be5a09e672bec509b1a8552b107c40214";
mygui-git.flake = false;
nvim-presence.url = "github:andweeb/presence.nvim";
nvim-presence.flake = false;
};
outputs = {
self,
nixpkgs,
home-manager,
...
} @ inputs: let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
permittedInsecurePackages = [
];
};
overlays = [
self.overlays.default
];
};
in {
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
overlays = import ./overlay.nix {inherit inputs;};
nixosConfigurations.terra = nixpkgs.lib.nixosSystem {
inherit system;
inherit pkgs;
specialArgs = {inherit inputs;};
modules = [
./system/configuration.nix
inputs.chaotic-nyx.nixosModules.default
inputs.nur.nixosModules.nur
];
};
homeConfigurations.manuel = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit inputs;};
modules = [
./user/home.nix
inputs.nix-index-database.hmModules.nix-index
inputs.nur.hmModules.nur
];
};
};
}