ef4883bb3b
* add users nix file * add element * add buld thing and config * remove hyper cuz broken and fix build script * Fix nix builds (keep em from explodin) * add flake * using flakes now I guess? * add hardware configuration for now I guess? * no homemanager yet * home manager module?
31 lines
957 B
Nix
31 lines
957 B
Nix
{
|
|
description = "Quins NixOS flake!";
|
|
|
|
inputs = {
|
|
# NixOS official package source, using the nixos-25.11 branch here
|
|
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
|
#nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
|
|
|
home-manager = {
|
|
url = "github:nix-community/home-manager/release-23.05";
|
|
# The `follows` keyword in inputs is used for inheritance.
|
|
# Here, `inputs.nixpkgs` of home-manager is kept consistent with
|
|
# the `inputs.nixpkgs` of the current flake,
|
|
# to avoid problems caused by different versions of nixpkgs.
|
|
inputs.nixpkgs.follows = "nixpkgs";
|
|
};
|
|
};
|
|
|
|
outputs = { self, nixpkgs, home-manager, ... }@inputs: {
|
|
# Please replace my-nixos with your hostname
|
|
nixosConfigurations.qmoran-laptop = nixpkgs.lib.nixosSystem {
|
|
system = "x86_64-linux";
|
|
modules = [
|
|
./configuration.nix
|
|
home-manager.nixosModules.home-manager
|
|
];
|
|
};
|
|
};
|
|
}
|
|
|