1
0
Fork 0

Arion: Add flake

This commit is contained in:
Daniel Kempkens 2022-07-30 20:17:39 +02:00
parent d2775c6e85
commit 75149c7344
4 changed files with 38 additions and 6 deletions

View file

@ -1,5 +1,25 @@
{
"nodes": {
"arion": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1654878283,
"narHash": "sha256-JWdKBMzEibS2neY0nEs9E8kn4zRepEbwSw7HzxbEiAg=",
"owner": "hercules-ci",
"repo": "arion",
"rev": "e5fb978143240f8d293e6e5acc9691acf472928d",
"type": "github"
},
"original": {
"owner": "hercules-ci",
"repo": "arion",
"type": "github"
}
},
"darwin": {
"inputs": {
"nixpkgs": [
@ -171,6 +191,7 @@
},
"root": {
"inputs": {
"arion": "arion",
"darwin": "darwin",
"home-manager": "home-manager",
"neovim-nightly-overlay": "neovim-nightly-overlay",

View file

@ -17,6 +17,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
arion = {
url = "github:hercules-ci/arion";
inputs.nixpkgs.follows = "nixpkgs";
};
zig-overlay = {
url = "github:arqv/zig-overlay";
inputs.nixpkgs.follows = "nixpkgs";
@ -39,6 +44,7 @@
config-sail = import ./system/flakes/sail.nix {
inherit (inputs) nixpkgs;
inherit (inputs) arion;
};
in
config-Styx // config-sail;

View file

@ -1,13 +1,14 @@
{ pkgs, ... }:
{ pkgs, arion, ... }:
{
imports = [
../../hardware/hosts/sail.nix
../nixos/ssh.nix
../nixos/arion.nix
../nixos/git.nix
arion.nixosModules.arion
../nixos/arion.nix
];
nix = {

View file

@ -7,7 +7,11 @@
];
virtualisation.docker.enable = false;
virtualisation.podman.enable = true;
virtualisation.podman.dockerSocket.enable = true;
virtualisation.podman.defaultNetwork.dnsname.enable = true;
virtualisation.podman = {
enable = true;
dockerSocket.enable = true;
defaultNetwork.dnsname.enable = true;
};
}