-
Notifications
You must be signed in to change notification settings - Fork 1
/
flake.nix
44 lines (44 loc) · 1.29 KB
/
flake.nix
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
{
description = "My personal nixos configuration";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nur.url = "github:nix-community/NUR";
neovim-nightly-overlay = {
url = "github:nix-community/neovim-nightly-overlay";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify-nix = {
url = "github:the-argus/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
hardened-firefox = {
url = "github:arkenfox/user.js";
flake = false;
};
hyprland = {
url = "github:hyprwm/Hyprland";
inputs.nixpkgs.follows = "nixpkgs";
};
hosts.url = "github:StevenBlack/hosts";
};
outputs = { nixpkgs, self, ... }@inputs:
let
selfPkgs = import ./pkgs;
system = "x86_64-linux";
user = "xenoxanite";
inherit (nixpkgs) lib;
in {
packages = nixpkgs.legacyPackages.${system};
overlays.default = selfPkgs.overlay;
formatter.${system} = nixpkgs.legacyPackages.${system}.alejandra;
nixosConfigurations.oxygen = lib.nixosSystem {
system = "x86_64-linux";
modules = [ ./hosts/oxygen ];
specialArgs = { inherit inputs self user; };
};
};
}