laptop-nix-config/flake.nix

35 lines
1,023 B
Nix
Raw Normal View History

2025-02-16 16:15:35 -05:00
rec {
description = "NixOS configs";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs/nixos-24.11";
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
2025-04-01 01:26:52 -04:00
extensions.url = "github:nix-community/nix-vscode-extensions";
extensions.inputs.nixpkgs.follows = "nixpkgs";
editor-010.url = "github:Sanae6/010editor-flake";
editor-010.inputs.nixpkgs.follows = "nixpkgs";
2025-02-16 16:15:35 -05:00
};
outputs = {
self,
nixpkgs,
2025-04-01 01:26:52 -04:00
nixpkgs-unstable,
editor-010,
extensions,
2025-02-16 16:15:35 -05:00
} @ inputs: {
formatter.x86_64-linux = nixpkgs.legacyPackages.x86_64-linux.alejandra;
2025-04-01 01:26:52 -04:00
extensions = extensions.extensions.x86_64-linux;
2025-02-16 16:15:35 -05:00
nixosConfigurations.aubrey-laptop-nixos = nixpkgs.lib.nixosSystem {
2025-04-01 01:26:52 -04:00
specialArgs = {
inherit inputs;
unstablePkgs = nixpkgs-unstable.legacyPackages.x86_64-linux;
_010editor = editor-010.packages.x86_64-linux.default;
extensions = extensions.extensions.x86_64-linux;
};
2025-02-16 16:15:35 -05:00
modules = [./configuration/configuration.nix];
};
};
}