flake time?

This commit is contained in:
mehbark 2023-08-14 07:11:18 -04:00
parent 6697092099
commit 08d92d1711
2 changed files with 21 additions and 0 deletions

View file

@ -5,6 +5,13 @@
{ config, pkgs, ... }:
{
nix = {
package = pkgs.nixFlakes;
extraOptions = ''
experimental-features = nix-command flakes
'';
}
imports =
[ # Include the results of the hardware scan.
./hardware-configuration.nix

14
flake.nix Normal file
View file

@ -0,0 +1,14 @@
{
inputs.nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
inputs.home-manager.url = "github:nix-community/home-manager";
inputs.home-manager.inputs.nixpkgs.follows = "nixpkgs";
outputs = {self, nixpkgs, home-manager }: {
nixosConfigurations = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
modules = [
./configuration.nix
];
}
}
}