This commit is contained in:
2025-04-27 22:09:32 -05:00
parent 2eb60931e1
commit 085e0ed666
4 changed files with 59 additions and 5 deletions

47
flake.lock generated Normal file
View File

@@ -0,0 +1,47 @@
{
"nodes": {
"home-manager": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1745802917,
"narHash": "sha256-hI7BmIwKagCJlQdVgwxs1sLY2d8i97srcqT+OrhBDao=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "9c46dc881c2afcb50ac9ae9f1c36b2a4ebba3c8a",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1745804731,
"narHash": "sha256-v/sK3AS0QKu/Tu5sHIfddiEHCvrbNYPv8X10Fpux68g=",
"owner": "NixOs",
"repo": "nixpkgs",
"rev": "29335f23bea5e34228349ea739f31ee79e267b88",
"type": "github"
},
"original": {
"owner": "NixOs",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manager": "home-manager",
"nixpkgs": "nixpkgs"
}
}
},
"root": "root",
"version": 7
}

View File

@@ -1,17 +1,24 @@
{
inputs = {
nixpkgs.url = "github:NixOs/nixpkgs";
home-manager.url = "github:nix-community/home-manager";
home-manager.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
{ nixpkgs, home-manager, ... } @ inputs:
outputs = { self, nixpkgs, home-manager, ... } @ inputs:
let
system = "x86_64-linux";
in
{
in {
nixosConfigurations = {
nixos-vm = nixpkgs.lib.nixosSystem {
inherit system;
specialArgs = { inherit inputs; };
modules = [
./modules
import ./machines/nixos-vm/configuration.nix
];
};
};
};
}