mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
feat: Setup Workflows
This commit is contained in:
parent
3eecea6503
commit
b323399182
5 changed files with 38 additions and 13 deletions
20
.github/workflows/flake-checks.yaml
vendored
Normal file
20
.github/workflows/flake-checks.yaml
vendored
Normal file
|
|
@ -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
|
||||
|
|
@ -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;
|
||||
|
|
@ -6327,7 +6327,7 @@ Lastly, I am defining some more packages here that the parser has problems findi
|
|||
})
|
||||
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
#+end_src
|
||||
|
|
@ -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
|
||||
|
|
|
|||
14
index.html
14
index.html
|
|
@ -3,7 +3,7 @@
|
|||
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en">
|
||||
<head>
|
||||
<!-- 2024-07-18 Do 23:05 -->
|
||||
<!-- 2024-07-18 Do 23:36 -->
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<title>SwarselSystems: NixOS + Emacs Configuration</title>
|
||||
|
|
@ -387,7 +387,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<p>
|
||||
<b>This file has 41177 words spanning 10930 lines and was last revised on 2024-07-18 23:05:07 +0200.</b>
|
||||
<b>This file has 41177 words spanning 10930 lines and was last revised on 2024-07-18 23:36:22 +0200.</b>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
@ -437,7 +437,7 @@ This section defines my Emacs configuration. For a while, I considered to use ry
|
|||
</p>
|
||||
|
||||
<p>
|
||||
My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2024-07-18 23:05:07 +0200)
|
||||
My emacs is built using the emacs-overlay nix flake, which builds a bleeding edge emacs on wayland (pgtk) with utilities like treesitter support. By executing the below source block, the current build setting can be updated at any time, and you can see my most up-to-date build options (last updated: 2024-07-18 23:36:22 +0200)
|
||||
</p></li>
|
||||
</ul>
|
||||
|
||||
|
|
@ -7548,7 +7548,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;
|
||||
|
|
@ -7587,7 +7587,7 @@ programs.emacs = {
|
|||
})
|
||||
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
</pre>
|
||||
|
|
@ -7799,7 +7799,7 @@ programs.waybar = {
|
|||
};
|
||||
};
|
||||
};
|
||||
style = (builtins.readFile ../../programs/waybar/style.css);
|
||||
style = builtins.readFile ../../programs/waybar/style.css;
|
||||
};
|
||||
|
||||
</pre>
|
||||
|
|
@ -12925,7 +12925,7 @@ My laptop, sadly soon to be replaced by a new one, since most basic functions ar
|
|||
</div>
|
||||
<div id="postamble" class="status">
|
||||
<p class="author">Author: Leon Schwarzäugl</p>
|
||||
<p class="date">Created: 2024-07-18 Do 23:05</p>
|
||||
<p class="date">Created: 2024-07-18 Do 23:36</p>
|
||||
<p class="validation"><a href="https://validator.w3.org/check?uri=referer">Validate</a></p>
|
||||
</div>
|
||||
</body>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
@ -941,7 +941,7 @@ programs.emacs = {
|
|||
})
|
||||
|
||||
];
|
||||
});
|
||||
};
|
||||
};
|
||||
|
||||
programs.waybar = {
|
||||
|
|
@ -1132,7 +1132,7 @@ programs.waybar = {
|
|||
};
|
||||
};
|
||||
};
|
||||
style = (builtins.readFile ../../programs/waybar/style.css);
|
||||
style = builtins.readFile ../../programs/waybar/style.css;
|
||||
};
|
||||
|
||||
programs.firefox = {
|
||||
|
|
|
|||
5
statix.toml
Normal file
5
statix.toml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
disabled = [
|
||||
"repeated_keys"
|
||||
]
|
||||
nix_version = '2.4'
|
||||
ignore = ['.direnv']
|
||||
Loading…
Add table
Add a link
Reference in a new issue