Initial commit

This commit is contained in:
2024-07-25 16:56:48 -04:00
commit b94111bc5a
12 changed files with 546 additions and 0 deletions

43
flake.nix Normal file
View File

@@ -0,0 +1,43 @@
{
description = "A very basic flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-unstable";
nixos-hardware.url = "github:NixOS/nixos-hardware/master";
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { self, nixpkgs, nixos-hardware, ... }@inputs:
let
system = "x86_64-linux";
pkgs = import nixpkgs {
inherit system;
config = {
allowUnfree = true;
};
};
in {
# Framework - argon
nixosConfigurations.argon = nixpkgs.lib.nixosSystem {
specialArgs = { inherit system; inherit inputs; };
modules = [
nixos-hardware.nixosModules.framework-12th-gen-intel
./_hosts/argon/configuration.nix
./nixos-modules
];
};
homeManagerModules.default = ./nixos-modules/home-manager;
};
}