-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove unecessary aliases and use single nixpkgs input
- Loading branch information
Showing
30 changed files
with
293 additions
and
268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
on: | ||
push: | ||
branches: [main] | ||
workflow_dispatch: | ||
|
||
jobs: | ||
lints: | ||
name: Build | ||
runs-on: ubuntu-22.04 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- name: Install Nix | ||
uses: DeterminateSystems/nix-installer-action@v5 | ||
- uses: DeterminateSystems/magic-nix-cache-action@v2 | ||
- uses: cachix/cachix-action@v12 | ||
with: | ||
name: snowflakeos | ||
authToken: "${{ secrets.CACHIX_AUTH_TOKEN }}" | ||
- run: | | ||
for pkg in `ls packages`; do | ||
nix build .#${pkg} | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/result |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,19 @@ | ||
{ options, config, lib, pkgs, ... }: | ||
|
||
with lib; | ||
with lib.internal; | ||
let | ||
cfg = config.modules.biosboot; | ||
in | ||
{ | ||
options.modules.biosboot = with types; { | ||
device = mkOption { | ||
type = str; | ||
default = "nodev"; | ||
description = "device"; | ||
}; | ||
cleantmp = mkOption { | ||
type = bool; | ||
default = true; | ||
description = "Clean /tmp on boot."; | ||
}; | ||
}; | ||
|
||
config = { | ||
boot.loader = { | ||
systemd-boot.enable = false; | ||
grub.enable = true; | ||
grub.useOSProber = true; | ||
grub.device = cfg.device; | ||
}; | ||
boot.tmp.cleanOnBoot = cfg.cleantmp; | ||
boot.tmp.cleanOnBoot = mkDefault true; | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.