Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Commit

Permalink
feat: multiple systems linux/darwin (#5)
Browse files Browse the repository at this point in the history
* feat: darwin done

* fix(readme): added screenshots and instructions

* ci: multi-tests

* reformat: flake

* fix(home-manager): linux activation configs

* feat(linux): add wayland system configs

* refactor: remove vars for user and hostname

* feat(impermanence): impermanence configs

* fix(linux): add root password

* feat(hypr): added user packages

* feat(hypr): wallpapers

* feat(hypr): scripts

* feat(hypr): config and variables

* feat(hypr): waybar

* feat(home-manager): linux added foot

* feat(home-manager): linux added firefox

* feat(linux): user packages media

* feat(home-manager): linux added zathura

* feat(helix): local configs for .conf files

* feat(home-manager): linux added mpv

* feat(home-manager): linux added rnnoise

* fix(font): Hack Nerd Font Propo

* feat(home-manager): linux added gtk custom theme

* feat(home-manager): linux added rofi

* feat(home-manager): linux added mako

* feat(home-manager): linux added cava

* feat(disko): disko with instructions and agenix

* feat(age): user and root passwords

* fix: deprecations and warnings
  • Loading branch information
storopoli authored Nov 25, 2023
1 parent 40fee8e commit de61e4d
Show file tree
Hide file tree
Showing 124 changed files with 4,117 additions and 555 deletions.
46 changes: 33 additions & 13 deletions .github/workflows/Nix.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,48 @@
name: Nix Darwin
#concurrency:
name: Nix Flake
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
flake-test:
runs-on: macos-latest
self-care:
name: Flake self-check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v5
with:
fail-mode: true

nixos-test:
name: "NixOS Nix Test"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: "Install Nix ❄️"
uses: cachix/install-nix-action@v23
with:
github_access_token: ${{ secrets.TOKEN }}
nix_path: nixpkgs=channel:nixos-unstable
uses: DeterminateSystems/nix-installer-action@v8

- name: "Nix Cache"
uses: DeterminateSystems/magic-nix-cache-action@main
uses: DeterminateSystems/magic-nix-cache-action@v2

- name: "Build NixOS config ❄️"
run: nix build --dry-run -L '.#nixosConfigurations.framework.config.system.build.toplevel' --show-trace

- name: "Nix Flake Check"
run: nix flake check
# FIXME: waiting for github to release Apple Silicon CI runners
macos-test:
name: "macOS Nix Test"
runs-on: macos-latest
steps:
- uses: actions/checkout@v4

- name: "Install Nix ❄️"
uses: DeterminateSystems/nix-installer-action@v8

- name: "Nix Cache"
uses: DeterminateSystems/magic-nix-cache-action@v2

- name: "Build NixOS config ❄️"
run: |
nix --experimental-features 'nix-command flakes' build -L '.#darwinConfigurations.macbook_x86.system'
run: nix run nix-darwin -- check --flake .#macbook_x86

24 changes: 24 additions & 0 deletions .helix/languages.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# from https://github.com/helix-editor/helix/blob/master/languages.toml

[[language]]
name = "ini"
file-types = [
"conf",

"ini",
"service",
"automount",
"device",
"mount",
"path",
"service",
"slice",
"socket",
"swap",
"target",
"timer",
"container",
"volume",
"kube",
"network",
]
Loading

0 comments on commit de61e4d

Please sign in to comment.