81 lines
2.3 KiB
Nix
81 lines
2.3 KiB
Nix
|
# Nixos System Configuration
|
||
|
{
|
||
|
description = "Modules and configuration for my NixOS system";
|
||
|
|
||
|
inputs = {
|
||
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||
|
nixpkgs-stable.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||
|
my-nix-packages = {
|
||
|
url = "github:eriedaberrie/my-nix-packages";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
nix-index-database = {
|
||
|
url = "github:nix-community/nix-index-database";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
home-manager = {
|
||
|
url = "github:nix-community/home-manager";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
lanzaboote = {
|
||
|
url = "github:nix-community/lanzaboote";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
cl-hyprland-ipc = {
|
||
|
url = "github:eriedaberrie/cl-hyprland-ipc";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
# nur.url = github:nix-community/NUR;
|
||
|
xdph = {
|
||
|
url = "github:hyprwm/xdg-desktop-portal-hyprland";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
hyprland = {
|
||
|
url = "git+https://github.com/hyprwm/Hyprland?submodules=1";
|
||
|
inputs.xdph.follows = "xdph";
|
||
|
};
|
||
|
hyprlock = {
|
||
|
url = "github:hyprwm/hyprlock";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
emacs-overlay = {
|
||
|
url = "github:nix-community/emacs-overlay";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
agenix = {
|
||
|
url = "github:ryantm/agenix";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
grim-hyprland = {
|
||
|
url = "github:eriedaberrie/grim-hyprland";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
spicetify-nix = {
|
||
|
url = "github:the-argus/spicetify-nix";
|
||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||
|
};
|
||
|
nix-gaming.url = "github:fufexan/nix-gaming";
|
||
|
};
|
||
|
|
||
|
outputs = inputs: {
|
||
|
nixosConfigurations = import ./hosts inputs;
|
||
|
lib = import ./lib inputs;
|
||
|
|
||
|
homeManagerModules.default = import ./modules/home;
|
||
|
nixosModules.default = import ./modules/os;
|
||
|
};
|
||
|
|
||
|
nixConfig = {
|
||
|
extra-substituters = [
|
||
|
"https://nix-community.cachix.org"
|
||
|
"https://hyprland.cachix.org"
|
||
|
"https://nix-gaming.cachix.org"
|
||
|
];
|
||
|
extra-trusted-public-keys = [
|
||
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||
|
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
|
||
|
"nix-gaming.cachix.org-1:nbjlureqMbRAxR1gJ/f3hxemL9svXaZF/Ees8vCUUs4="
|
||
|
];
|
||
|
};
|
||
|
}
|