Compare commits
2 commits
771f6d9d84
...
3fc5fa3409
Author | SHA1 | Date | |
---|---|---|---|
3fc5fa3409 | |||
486a8ad7a5 |
2 changed files with 4 additions and 7 deletions
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -14,6 +14,8 @@ jobs:
|
|||
- system: durincore
|
||||
os: ubuntu-x86_64
|
||||
runs-on: ${{ matrix.os }}
|
||||
container:
|
||||
image: docker.io/library/ubuntu:latest
|
||||
steps:
|
||||
# - name: Create nix mount point
|
||||
# if: contains(matrix.os, 'ubuntu-x86_64')
|
||||
|
@ -23,8 +25,8 @@ jobs:
|
|||
with:
|
||||
fetch-depth: 0
|
||||
# For compatibility with actions and debian
|
||||
- name: Install sudo
|
||||
run: apt update && apt install -y sudo
|
||||
# - name: Install sudo
|
||||
# run: apt update && apt install -y sudo
|
||||
- name: Install Nix
|
||||
uses: https://github.com/cachix/install-nix-action@v26
|
||||
with:
|
||||
|
|
|
@ -94,7 +94,6 @@
|
|||
inherit inputs outputs;
|
||||
# Import overlays for building nixosconfig with them.
|
||||
overlays = import ./nixos/overlays { inherit inputs; };
|
||||
|
||||
# generate a base nixos configuration with the
|
||||
# specified overlays, hardware modules, and any extraModules applied
|
||||
mkNixosConfig =
|
||||
|
@ -118,7 +117,6 @@
|
|||
extraSpecialArgs = {
|
||||
inherit inputs hostname system;
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
]
|
||||
|
@ -129,7 +127,6 @@
|
|||
modules = baseModules ++ hardwareModules ++ profileModules;
|
||||
specialArgs = { inherit self inputs nixpkgs; };
|
||||
# Add our overlays
|
||||
|
||||
pkgs = import nixpkgs {
|
||||
inherit system;
|
||||
overlays = builtins.attrValues overlays;
|
||||
|
@ -138,7 +135,6 @@
|
|||
allowUnfreePredicate = _: true;
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
in
|
||||
{
|
||||
|
@ -168,7 +164,6 @@
|
|||
profileModules = [
|
||||
./nixos/profiles/role-server.nix
|
||||
{ home-manager.users.jahanson = ./nixos/home/jahanson/server.nix; }
|
||||
|
||||
];
|
||||
};
|
||||
};
|
||||
|
|
Reference in a new issue