fix nix errors

This commit is contained in:
Vivian 2022-10-08 17:05:22 +02:00
parent 7f7121aad6
commit 743d86da5b
4 changed files with 7 additions and 6 deletions

View file

@ -19,7 +19,7 @@ jobs:
name: 0x76-infra name: 0x76-infra
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}"
- name: "Check NixOS Flake ❄️" - name: "Build NixOS ISO ❄️"
run: | run: |
nix build '.#iso' nix build '.#iso'
- uses: actions/upload-artifact@v3 - uses: actions/upload-artifact@v3

View file

@ -47,6 +47,7 @@
helix helix
htop htop
ncdu ncdu
psmisc
ripgrep ripgrep
rsync rsync
zoxide zoxide

View file

@ -34,7 +34,7 @@ in {
# this value at the release version of the first install of this system. # this value at the release version of the first install of this system.
# Before changing this value read the documentation for this option # Before changing this value read the documentation for this option
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html). # (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
system.stateVersion = "21.05"; # Did you read the comment? system.stateVersion = "22.11"; # Did you read the comment?
virtualisation.podman = { virtualisation.podman = {
enable = true; enable = true;

View file

@ -10,10 +10,10 @@ let
import_cases = { import_cases = {
"lxc" = [ "lxc" = [
"${nixpkgs}/nixos/modules/virtualisation/lxc-container.nix" "${nixpkgs}/nixos/modules/virtualisation/lxc-container.nix"
./nixos/common/generic-lxc.nix ./common/generic-lxc.nix
]; ];
"vm" = [ "vm" = [
./nixos/common/generic-vm.nix ./common/generic-vm.nix
]; ];
"local" = [ "local" = [
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
@ -23,8 +23,8 @@ let
in in
{ hostname, realm, profile ? hostname, type ? "lxc", ... }: [ { hostname, realm, profile ? hostname, type ? "lxc", ... }: [
mailserver.nixosModules.mailserver mailserver.nixosModules.mailserver
./nixos/common ./common
"${./.}/nixos/hosts/${realm}/${profile}/configuration.nix" "${./.}/hosts/${realm}/${profile}/configuration.nix"
] ++ import_cases.${type}; ] ++ import_cases.${type};
in in
{ {