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": { "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": { "darwin": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -171,6 +191,7 @@
}, },
"root": { "root": {
"inputs": { "inputs": {
"arion": "arion",
"darwin": "darwin", "darwin": "darwin",
"home-manager": "home-manager", "home-manager": "home-manager",
"neovim-nightly-overlay": "neovim-nightly-overlay", "neovim-nightly-overlay": "neovim-nightly-overlay",

View file

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

View file

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

View file

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