Initial Commit

This commit is contained in:
Sravan Balaji
2024-03-23 10:27:42 -04:00
commit 7c50b9dbfd
4 changed files with 205 additions and 0 deletions

32
flake.nix Normal file
View File

@@ -0,0 +1,32 @@
{
description = "My first flake!";
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
};
outputs = { self, nixpkgs, ... }:
let
system = "x86_64-linux";
lib = nixpkgs.lib;
pkgs = import nixpkgs {
inherit system;
};
username = "sravan";
name = "Sravan Balaji";
in {
nixosConfigurations = {
nixos-vm = lib.nixosSystem {
inherit system;
modules = [
./configuration.nix
];
specialArgs = {
inherit username;
inherit name;
};
};
};
};
}