mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
switch CI to detnix
This commit is contained in:
parent
821f44e5de
commit
be8d0929e0
2 changed files with 15 additions and 8 deletions
4
.github/workflows/main.yml
vendored
4
.github/workflows/main.yml
vendored
|
|
@ -24,7 +24,9 @@ jobs:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- name: install nix
|
- name: install nix
|
||||||
uses: samueldr/lix-gha-installer-action@v2025-02-26.prerelease
|
uses: DeterminateSystems/determinate-nix-action
|
||||||
|
with:
|
||||||
|
extra-conf: "lazy-trees = true"
|
||||||
|
|
||||||
- name: Maximize build space
|
- name: Maximize build space
|
||||||
if: runner.os == 'Linux'
|
if: runner.os == 'Linux'
|
||||||
|
|
|
||||||
|
|
@ -4,10 +4,11 @@
|
||||||
inputs = {
|
inputs = {
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-25.05";
|
||||||
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs-unstable.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||||
lix-module = {
|
# lix-module = {
|
||||||
url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.3.tar.gz";
|
# url = "https://git.lix.systems/lix-project/nixos-module/archive/2.93.3.tar.gz";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
# inputs.nixpkgs.follows = "nixpkgs";
|
||||||
};
|
# };
|
||||||
|
inputs.determinate.url = "https://flakehub.com/f/DeterminateSystems/determinate/*";
|
||||||
home-manager = {
|
home-manager = {
|
||||||
url = "github:nix-community/home-manager";
|
url = "github:nix-community/home-manager";
|
||||||
inputs.nixpkgs.follows = "nixpkgs";
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
|
@ -24,7 +25,8 @@
|
||||||
self,
|
self,
|
||||||
nixpkgs,
|
nixpkgs,
|
||||||
nixpkgs-unstable,
|
nixpkgs-unstable,
|
||||||
lix-module,
|
# lix-module,
|
||||||
|
determinate,
|
||||||
home-manager,
|
home-manager,
|
||||||
darwin,
|
darwin,
|
||||||
helix,
|
helix,
|
||||||
|
|
@ -68,8 +70,9 @@
|
||||||
wash = nixpkgs.lib.nixosSystem {
|
wash = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = {inherit inputs outputs;};
|
specialArgs = {inherit inputs outputs;};
|
||||||
modules = [
|
modules = [
|
||||||
lix-module.nixosModules.default
|
# lix-module.nixosModules.default
|
||||||
|
|
||||||
|
determinate.nixosModules.default
|
||||||
./machines/wash/configuration.nix
|
./machines/wash/configuration.nix
|
||||||
|
|
||||||
home-manager.nixosModules.home-manager
|
home-manager.nixosModules.home-manager
|
||||||
|
|
@ -89,7 +92,9 @@
|
||||||
specialArgs = {inherit inputs outputs;};
|
specialArgs = {inherit inputs outputs;};
|
||||||
|
|
||||||
modules = [
|
modules = [
|
||||||
lix-module.nixosModules.default
|
# lix-module.nixosModules.default
|
||||||
|
|
||||||
|
determinate.nixosModules.default
|
||||||
|
|
||||||
./machines/hinge/darwin.nix
|
./machines/hinge/darwin.nix
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue