Skip to content

Commit

Permalink
add separate hyprland cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
zachcoyle committed May 8, 2024
1 parent 309fb26 commit f0087fb
Show file tree
Hide file tree
Showing 3 changed files with 43 additions and 8 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/cache-nixos-hyprland.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: cachix-nixos-hyprland
on:
pull_request:
push:
jobs:
cachix:
runs-on: ubuntu-latest
steps:
# - name: Set Swap Space
# uses: pierotofy/set-swap-space@master
# with:
# swap-size-gb: 0.1
# - name: Free Disk Space
# uses: jlumbroso/free-disk-space@main
# with:
# tool-cache: true
- name: Checkout
uses: actions/[email protected]
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@main
- name: Magic Nix Cache
uses: DeterminateSystems/magic-nix-cache-action@main
- uses: cachix/cachix-action@v14
with:
name: zachcoyle
authToken: ${{ secrets.CACHIX_AUTH_TOKEN }}
- run: nix build .#nixosConfigurations.nixos-laptop.pkgs.hyprland --show-trace
continue-on-error: true
- run: nix build .#nixosConfigurations.nixos-laptop.pkgs.hyprlock --show-trace
continue-on-error: true
- run: nix build .#nixosConfigurations.nixos-laptop.pkgs.hypridle --show-trace
continue-on-error: true
4 changes: 2 additions & 2 deletions home-linux.nix
Original file line number Diff line number Diff line change
Expand Up @@ -89,10 +89,10 @@ in {
cider
copyq
cura
dwarf-fortress-packages.dwarf-fortress-full
# dwarf-fortress-packages.dwarf-fortress-full
# element-desktop
# foliate
font-manager
# font-manager
freecad
gnome-tecla
gnome.evince
Expand Down
15 changes: 9 additions & 6 deletions hosts/nixos/common-configuration.nix
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,10 @@
};

networking = {
networkmanager.enable = true;
networkmanager = {
enable = true;
plugins = [];
};
nameservers = ["1.1.1.1" "1.0.0.1"];
};

Expand Down Expand Up @@ -118,11 +121,11 @@
flake = "/home/zcoyle/Developer/github.com/zachcoyle/nix-config";
};

steam = {
enable = true;
remotePlay.openFirewall = true;
dedicatedServer.openFirewall = true;
};
# steam = {
# enable = true;
# remotePlay.openFirewall = true;
# dedicatedServer.openFirewall = true;
# };

zsh.enable = true;
};
Expand Down

0 comments on commit f0087fb

Please sign in to comment.