add dev machine to flake
This commit is contained in:
parent
912a42c450
commit
5b53465e2c
4 changed files with 130 additions and 9 deletions
20
flake.nix
20
flake.nix
|
@ -1,10 +1,10 @@
|
|||
{
|
||||
description = "chaos music control";
|
||||
description = "sanic - chaos music control";
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable";
|
||||
flake-utils.url = "github:numtide/flake-utils";
|
||||
nixpkgs.url = github:NixOS/nixpkgs/nixos-24.05;
|
||||
flake-utils.url = github:numtide/flake-utils;
|
||||
gomod2nix = {
|
||||
url = "github:tweag/gomod2nix";
|
||||
url = github:tweag/gomod2nix;
|
||||
inputs.nixpkgs.follows = "nixpkgs";
|
||||
inputs.flake-utils.follows = "flake-utils";
|
||||
};
|
||||
|
@ -36,6 +36,18 @@
|
|||
mpc-cli
|
||||
];
|
||||
};
|
||||
nixosConfigurations."sanic" = nixpkgs.lib.nixosSystem {
|
||||
inherit system;
|
||||
modules = [
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
sanic
|
||||
];
|
||||
}
|
||||
"${nixpkgs}/nixos/modules/virtualisation/proxmox-lxc.nix"
|
||||
./configuration.nix
|
||||
];
|
||||
};
|
||||
}
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue