Skip to content

Commit

Permalink
feat: Setup Workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Swarsel committed Jul 18, 2024
1 parent 3eecea6 commit b323399
Show file tree
Hide file tree
Showing 5 changed files with 38 additions and 13 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/flake-checks.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Flake check
on:
pull_request:
push:
branches: [main]
jobs:
build:
name: Check flake
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Check Nix flake inputs
uses: DeterminateSystems/flake-checker-action@v4
- name: Install Nix
uses: DeterminateSystems/nix-installer-action@v3
- uses: DeterminateSystems/magic-nix-cache-action@main
- name: Check for dead code
run: git ls-files '*.nix' | nix run nixpkgs#deadnix
- name: Check for lints
run: nix run nixpkgs#statix -- check
6 changes: 3 additions & 3 deletions SwarselSystems.org
Original file line number Diff line number Diff line change
Expand Up @@ -6288,7 +6288,7 @@ Lastly, I am defining some more packages here that the parser has problems findi
# also read init.el file and install use-package packages
programs.emacs = {
enable = true;
package = (pkgs.emacsWithPackagesFromUsePackage {
package = pkgs.emacsWithPackagesFromUsePackage {
config = ../../programs/emacs/init.el;
package = pkgs.emacs-pgtk;
alwaysEnsure = true;
Expand Down Expand Up @@ -6327,7 +6327,7 @@ Lastly, I am defining some more packages here that the parser has problems findi
})

];
});
};
};

#+end_src
Expand Down Expand Up @@ -6533,7 +6533,7 @@ The rest of this configuration is found here:
};
};
};
style = (builtins.readFile ../../programs/waybar/style.css);
style = builtins.readFile ../../programs/waybar/style.css;
};

#+end_src
Expand Down
14 changes: 7 additions & 7 deletions index.html

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions profiles/common/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -902,7 +902,7 @@ accounts.email = {
# also read init.el file and install use-package packages
programs.emacs = {
enable = true;
package = (pkgs.emacsWithPackagesFromUsePackage {
package = pkgs.emacsWithPackagesFromUsePackage {
config = ../../programs/emacs/init.el;
package = pkgs.emacs-pgtk;
alwaysEnsure = true;
Expand Down Expand Up @@ -941,7 +941,7 @@ programs.emacs = {
})

];
});
};
};

programs.waybar = {
Expand Down Expand Up @@ -1132,7 +1132,7 @@ programs.waybar = {
};
};
};
style = (builtins.readFile ../../programs/waybar/style.css);
style = builtins.readFile ../../programs/waybar/style.css;
};

programs.firefox = {
Expand Down
5 changes: 5 additions & 0 deletions statix.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
disabled = [
"repeated_keys"
]
nix_version = '2.4'
ignore = ['.direnv']

0 comments on commit b323399

Please sign in to comment.