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

77 lines
2.4 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-05-25 15:44:15 +01:00
home-manager.url = "github:nix-community/home-manager";
2023-05-26 02:42:33 +01:00
2023-06-01 22:41:25 +01:00
hyprland.url = "github:hyprwm/hyprland/v0.26.0";
2023-05-25 15:44:15 +01:00
hyprland-contrib.url = "github:hyprwm/contrib";
hyprpicker.url = "github:hyprwm/hyprpicker";
2023-05-26 02:42:33 +01:00
gruvbox-kvantum = { url = "github:thefallnn/Gruvbox-Kvantum"; flake = false; };
fish-plugin-bobthefish = { url = "github:oh-my-fish/theme-bobthefish"; flake = false; };
2023-05-29 16:43:26 +01:00
fish-plugin-gruvbox-theme = { url = "github:Jomik/fish-gruvbox"; flake = false; };
2023-05-26 02:42:33 +01:00
2023-05-25 15:44:15 +01:00
arrpc = { url = "github:notashelf/arrpc-flake"; inputs.nixpkgs.follows = "nixpkgs"; };
2023-06-01 21:20:44 +01:00
chaotic-nyx.url = "github:chaotic-cx/nyx/nyxpkgs-unstable";
2023-05-25 15:44:15 +01:00
grub2-themes = { url = "github:vinceliuice/grub2-themes"; inputs.nixpkgs.follows = "nixpkgs"; };
openmw-git = { url = "gitlab:OpenMW/openmw"; flake = false; };
waybar = { url = "github:alexays/waybar"; flake = false; };
2023-05-26 02:42:33 +01:00
xorg-git = { url = "gitlab:xorg/xserver?host=gitlab.freedesktop.org"; flake = false; };
2022-08-21 01:18:19 +01:00
};
2022-08-14 21:20:39 +01:00
2023-05-20 18:42:57 +01:00
outputs = { self, nixpkgs, home-manager, ... }@inputs:
2022-08-07 15:46:46 +01:00
let
2023-05-29 16:43:26 +01:00
system = "x86_64-linux";
2023-05-29 16:43:26 +01:00
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
allowUnsupportedSystem = true;
};
overlays = [
self.overlays.default
2023-06-01 22:41:25 +01:00
# inputs.chaotic-nyx.overlays.default
2023-05-29 16:43:26 +01:00
inputs.hyprland.overlays.default
inputs.hyprland-contrib.overlays.default
inputs.hyprpicker.overlays.default
];
};
in
{
2023-05-29 16:43:26 +01:00
overlays = (import ./overlay.nix { inherit inputs; });
nixosConfigurations.terra = nixpkgs.lib.nixosSystem
{
inherit system;
inherit pkgs;
specialArgs = { inherit inputs; };
modules = [
{
# needed to get tools working that expect a nixpkgs channel to exist
nix.nixPath = [ "nixpkgs=${nixpkgs}" ];
nix.registry.nixpkgs.flake = nixpkgs;
}
./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.grub2-themes.nixosModules.default
];
};
2022-08-07 15:46:46 +01:00
};
}
2023-02-26 00:49:03 +00:00