60 lines
1.5 KiB
Nix
60 lines
1.5 KiB
Nix
{
|
|
description = "atlas - NixOS Config for Desktop";
|
|
|
|
inputs = {
|
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
|
|
|
noctalia = {
|
|
url = "github:noctalia-dev/noctalia-shell";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
zen-browser = {
|
|
url = "github:youwen5/zen-browser-flake";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
opencode = {
|
|
url = "github:anomalyco/opencode";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
vicinae = {
|
|
url = "github:vicinaehq/vicinae";
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
|
|
nix-cachyos-kernel.url = "github:xddxdd/nix-cachyos-kernel/release";
|
|
};
|
|
|
|
# Binary caches for faster builds
|
|
nixConfig = {
|
|
extra-substituters = [
|
|
"https://vicinae.cachix.org"
|
|
"https://nix-community.cachix.org"
|
|
"https://attic.xuyh0120.win/lantian"
|
|
];
|
|
extra-trusted-public-keys = [
|
|
"vicinae.cachix.org-1:1kDrfienkGHPYbkpNj1mWTr7Fm1+zcenzgTizIcI3oc="
|
|
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
|
"lantian:EeAUQ+W+6r7EtwnmYjeVwx5kOGEBpjlBfPlzGlTNvHc="
|
|
];
|
|
};
|
|
|
|
outputs =
|
|
inputs@{ self, nixpkgs, ... }:
|
|
let
|
|
system = "x86_64-linux";
|
|
in
|
|
{
|
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
|
inherit system;
|
|
specialArgs = { inherit inputs; };
|
|
modules = [
|
|
./configuration.nix
|
|
{ nixpkgs.overlays = [ inputs.nix-cachyos-kernel.overlays.pinned ]; }
|
|
];
|
|
};
|
|
};
|
|
}
|