Compare commits
39 Commits
62d3a137b2
...
main
| Author | SHA1 | Date | |
|---|---|---|---|
| 888bff4ec8 | |||
| ae7fee9e32 | |||
| 84a9bf8204 | |||
| fb6d498ad5 | |||
| 203fad17d1 | |||
| 5cb2dce159 | |||
| 63224ce917 | |||
| 2f233bab42 | |||
| 9b77159110 | |||
| a1e8f6b69b | |||
| 4c7c4aa5e9 | |||
| d58590ee6a | |||
| 951ef7f777 | |||
| 9d24e57147 | |||
| 5b58cc10ec | |||
| e1add13d99 | |||
| 80e0d346c6 | |||
| d7a07ed0c7 | |||
| 76a14c35fc | |||
| 705abf2189 | |||
| e89457874c | |||
| c7a049b3c8 | |||
| 8d80823e1c | |||
| 92abe8b6cd | |||
| b7226bd567 | |||
| f8cbde73b1 | |||
| 5c9eabcebd | |||
| eaa03cc7e9 | |||
| 2b1738f5e9 | |||
| efa1aa3728 | |||
| fbf11fb58b | |||
| 5a627ca0e3 | |||
| 597ac21390 | |||
| 7e565d40ca | |||
| f2c16167ca | |||
| e1a243861e | |||
| e4ac56d530 | |||
| b9532ad6e8 | |||
| 52ce8f5611 |
28
.gitea/workflows/demo.yaml
Normal file
28
.gitea/workflows/demo.yaml
Normal file
@@ -0,0 +1,28 @@
|
||||
name: Gitea Actions Demo
|
||||
run-name: ${{ gitea.actor }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Explore-Gitea-Actions:
|
||||
runs-on: debian-latest
|
||||
container:
|
||||
image: "node:23"
|
||||
steps:
|
||||
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
|
||||
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
|
||||
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
|
||||
- run: echo "🖥️ The workflow is now ready to test your code on the runner."
|
||||
- name: List files in the repository
|
||||
run: |
|
||||
ls ${{ gitea.workspace }}
|
||||
- run: echo "🍏 This job's status is ${{ job.status }}."
|
||||
build-site:
|
||||
runs-on: debian-latest
|
||||
container:
|
||||
image: "node:23"
|
||||
steps:
|
||||
- name: checkout-code
|
||||
uses: https://data.forgejo.org/actions/checkout@v4
|
||||
5
.gitignore
vendored
5
.gitignore
vendored
@@ -1,2 +1,7 @@
|
||||
# /* cSpell:disable */
|
||||
|
||||
.direnv/
|
||||
|
||||
linode-nixos.qcow2
|
||||
|
||||
result
|
||||
|
||||
1
.pre-commit-config.yaml
Symbolic link
1
.pre-commit-config.yaml
Symbolic link
@@ -0,0 +1 @@
|
||||
/nix/store/30f0pr8v6hd0qy799gvjx6vw1zha8v8w-pre-commit-config.json
|
||||
55
.vscode/settings.json
vendored
55
.vscode/settings.json
vendored
@@ -1,6 +1,59 @@
|
||||
{
|
||||
"cSpell.words": [
|
||||
"aeson",
|
||||
"ahci",
|
||||
"arithmoi",
|
||||
"axios",
|
||||
"cachix",
|
||||
"caddy",
|
||||
"coreutils",
|
||||
"cowsay",
|
||||
"crueltysquad",
|
||||
"cutesealfanpage",
|
||||
"dhall",
|
||||
"emanote",
|
||||
"Ewanick",
|
||||
"fancytypist",
|
||||
"ghcid",
|
||||
"gitea",
|
||||
"gnused",
|
||||
"hakyll",
|
||||
"helpme",
|
||||
"hlint",
|
||||
"hoogle",
|
||||
"inetutils",
|
||||
"jibri",
|
||||
"jicofo",
|
||||
"jitsi",
|
||||
"jquery",
|
||||
"keymap",
|
||||
"lemmy",
|
||||
"longview",
|
||||
"maths",
|
||||
"mdformat",
|
||||
"networkd",
|
||||
"networkmanager",
|
||||
"nixos",
|
||||
"nixpkgs",
|
||||
"nodev",
|
||||
"nohup",
|
||||
"numtide",
|
||||
"optimise",
|
||||
"osds",
|
||||
"pandoc",
|
||||
"photoframe"
|
||||
"photoframe",
|
||||
"pkgs",
|
||||
"prejoin",
|
||||
"redir",
|
||||
"relude",
|
||||
"srid",
|
||||
"stdenv",
|
||||
"swapcaps",
|
||||
"swingottawa",
|
||||
"sysstat",
|
||||
"treefmt",
|
||||
"unrecognised",
|
||||
"videobridge",
|
||||
"virtio"
|
||||
]
|
||||
}
|
||||
327
flake.lock
generated
327
flake.lock
generated
@@ -3,53 +3,50 @@
|
||||
"commonmark-simple": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1705078713,
|
||||
"narHash": "sha256-YgDHJG8M47ZXGLWu8o7MhXbIrgQ0Ai32Gr8nKvZGGw8=",
|
||||
"lastModified": 1755566927,
|
||||
"narHash": "sha256-2WE5SjwgwjKdsHxDRfQIb2WRrVYoNPiCIyG4HZd8Znk=",
|
||||
"owner": "srid",
|
||||
"repo": "commonmark-simple",
|
||||
"rev": "fc106c94f781f6a35ef66900880edc08cbe3b034",
|
||||
"rev": "81dc7a66b2490a701bfc87e6e892307665e6336e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "srid",
|
||||
"ref": "0.2.0.0",
|
||||
"repo": "commonmark-simple",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ema": {
|
||||
"inputs": {
|
||||
"flake-parts": [
|
||||
"emanote",
|
||||
"flake-parts"
|
||||
],
|
||||
"flake-root": [
|
||||
"emanote",
|
||||
"flake-root"
|
||||
],
|
||||
"haskell-flake": [
|
||||
"emanote",
|
||||
"haskell-flake"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"emanote",
|
||||
"nixpkgs"
|
||||
],
|
||||
"treefmt-nix": [
|
||||
"emanote",
|
||||
"treefmt-nix"
|
||||
]
|
||||
},
|
||||
"commonmark-wikilink": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1702334080,
|
||||
"narHash": "sha256-zrtzyLrSORxtocLMji5U9p4pDicMulOqgsuiB4LCu1o=",
|
||||
"lastModified": 1755567049,
|
||||
"narHash": "sha256-MWOb0Ojc4EQd9fOnQEveRDdbH5Cr6kjUt04uWzBPLGQ=",
|
||||
"owner": "srid",
|
||||
"repo": "ema",
|
||||
"rev": "33f4cf31ace7e612e78ad25f5fc45089745ab644",
|
||||
"repo": "commonmark-wikilink",
|
||||
"rev": "5ab01515939047b58943cc1234e7ee0cb82d1c22",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "srid",
|
||||
"ref": "no-ws",
|
||||
"ref": "0.2.0.0",
|
||||
"repo": "commonmark-wikilink",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"ema": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1753226458,
|
||||
"narHash": "sha256-vDhjw+Cm7HniaiIHirwM0B2yzzLYLO3HHMaZsQRL3uw=",
|
||||
"owner": "srid",
|
||||
"repo": "ema",
|
||||
"rev": "7ff434cf8f494c62de7fe6c1a36d8681929beb93",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "srid",
|
||||
"ref": "0.12.0.0",
|
||||
"repo": "ema",
|
||||
"type": "github"
|
||||
}
|
||||
@@ -57,23 +54,29 @@
|
||||
"emanote": {
|
||||
"inputs": {
|
||||
"commonmark-simple": "commonmark-simple",
|
||||
"commonmark-wikilink": "commonmark-wikilink",
|
||||
"ema": "ema",
|
||||
"emanote-template": [],
|
||||
"flake-parts": "flake-parts",
|
||||
"flake-root": "flake-root",
|
||||
"emanote-template": "emanote-template",
|
||||
"flake-parts": [
|
||||
"flake-parts"
|
||||
],
|
||||
"fourmolu-nix": "fourmolu-nix",
|
||||
"git-hooks": "git-hooks",
|
||||
"haskell-flake": "haskell-flake",
|
||||
"heist-extra": "heist-extra",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"systems": "systems",
|
||||
"treefmt-nix": "treefmt-nix",
|
||||
"lvar": "lvar",
|
||||
"nixos-unified": "nixos-unified",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
],
|
||||
"unionmount": "unionmount"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1705141168,
|
||||
"narHash": "sha256-uz6LGgOPuAGrVtPOlcEpgiSMA0Cp5G/uK3UwPhGP/AE=",
|
||||
"lastModified": 1766432517,
|
||||
"narHash": "sha256-2y58CyRlcPIQgVvPxsxKOp6aFO6S16CyYOJxFfBaKE8=",
|
||||
"owner": "srid",
|
||||
"repo": "emanote",
|
||||
"rev": "7e4b27223d299ad325f685c63fa0f267fe2d8a00",
|
||||
"rev": "6deb47e5db07221709d5214820ff4456e2bda92d",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -82,16 +85,48 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"emanote-template": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1745726040,
|
||||
"narHash": "sha256-cLL9ylGe1OoN/KSX7+FRW3j8rm5iPTCleOJGSdOfdE0=",
|
||||
"owner": "srid",
|
||||
"repo": "emanote-template",
|
||||
"rev": "1475b182fc136fc5da3a3b3e2b9be90795af19bb",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "srid",
|
||||
"repo": "emanote-template",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-compat": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1767039857,
|
||||
"narHash": "sha256-vNpUSpF5Nuw8xvDLj2KCwwksIbjua2LZCqhV1LNRDns=",
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"rev": "5edf11c44bc78a0d334f6334cdaf7d60d732daab",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"repo": "flake-compat",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1704982712,
|
||||
"narHash": "sha256-2Ptt+9h8dczgle2Oo6z5ni5rt/uLMG47UFTR1ry/wgg=",
|
||||
"lastModified": 1765835352,
|
||||
"narHash": "sha256-XswHlK/Qtjasvhd1nOa1e8MgZ8GS//jBoTqWtrS1Giw=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "07f6395285469419cf9d078f59b5b49993198c00",
|
||||
"rev": "a34fae9c08a15ad73f295041fec82323541400a9",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -100,28 +135,87 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"flake-root": {
|
||||
"fourmolu-nix": {
|
||||
"locked": {
|
||||
"lastModified": 1692742795,
|
||||
"narHash": "sha256-f+Y0YhVCIJ06LemO+3Xx00lIcqQxSKJHXT/yk1RTKxw=",
|
||||
"owner": "srid",
|
||||
"repo": "flake-root",
|
||||
"rev": "d9a70d9c7a5fd7f3258ccf48da9335e9b47c3937",
|
||||
"lastModified": 1707266073,
|
||||
"narHash": "sha256-tCFzZQJicDdYjnuJiNK4hiiRAH7c2wQzMhOCdUMbVKE=",
|
||||
"owner": "jedimahdi",
|
||||
"repo": "fourmolu-nix",
|
||||
"rev": "717f5a91b0d7b97b1be7ecc3a0fd42d37ffe1c9b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "srid",
|
||||
"repo": "flake-root",
|
||||
"owner": "jedimahdi",
|
||||
"repo": "fourmolu-nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1748731907,
|
||||
"narHash": "sha256-KVgK2PB1h5RNhHJzGn090XcW1i9Mq0FVh6qTVKsg2RU=",
|
||||
"owner": "bmrips",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "2749fc9197fd12231746ef685225eaf85fe087fd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "bmrips",
|
||||
"repo": "git-hooks.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"git-hooks-nix": {
|
||||
"inputs": {
|
||||
"flake-compat": "flake-compat",
|
||||
"gitignore": "gitignore",
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1767281941,
|
||||
"narHash": "sha256-6MkqajPICgugsuZ92OMoQcgSHnD6sJHwk8AxvMcIgTE=",
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"rev": "f0927703b7b1c8d97511c4116eb9b4ec6645a0fa",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "cachix",
|
||||
"repo": "git-hooks.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"gitignore": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"git-hooks-nix",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1709087332,
|
||||
"narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"rev": "637db329424fd7e46cf4185293b9cc8c88c95394",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "gitignore.nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"haskell-flake": {
|
||||
"locked": {
|
||||
"lastModified": 1705067885,
|
||||
"narHash": "sha256-al2JqNIkXfLiVreqSJWly64Z6YVNphWBh4m3IxGIdYI=",
|
||||
"lastModified": 1752499668,
|
||||
"narHash": "sha256-Yif99ho8GNgXP0l9vxPHCKi7X16Cf7rwVd+HW1cMVeQ=",
|
||||
"owner": "srid",
|
||||
"repo": "haskell-flake",
|
||||
"rev": "8a526aaf98cde6af6b2d1d368e9acb460ee34547",
|
||||
"rev": "39065472d2587af93a502423276bfb98c2c6fb09",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -133,11 +227,11 @@
|
||||
"heist-extra": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1691619499,
|
||||
"narHash": "sha256-4e8v5t4FM99pdcPhohP3dAeGtsFnirbfYGpbr2+qWxI=",
|
||||
"lastModified": 1766109391,
|
||||
"narHash": "sha256-ytHgIoRlkI5K0SDq33znlY0wjlqcwoQCe1z9JfHT/Fw=",
|
||||
"owner": "srid",
|
||||
"repo": "heist-extra",
|
||||
"rev": "54ff970f733dd45b5509d1c4c298927b6241041b",
|
||||
"rev": "81f1ea0cf1226215430171dbe613a2988c6cc46a",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -146,94 +240,90 @@
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"lvar": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1704842529,
|
||||
"narHash": "sha256-OTeQA+F8d/Evad33JMfuXC89VMetQbsU4qcaePchGr4=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "eabe8d3eface69f5bb16c18f8662a702f50c20d5",
|
||||
"lastModified": 1753226155,
|
||||
"narHash": "sha256-Uwg5s0SlxLp83bXHA+6TIQV+L+lu8lwMpBdNuiuk7hg=",
|
||||
"owner": "srid",
|
||||
"repo": "lvar",
|
||||
"rev": "cd110d4823ee7b8bbbf115a47c79bc304c3309cd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"owner": "srid",
|
||||
"ref": "0.2.0.0",
|
||||
"repo": "lvar",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixos-unified": {
|
||||
"locked": {
|
||||
"lastModified": 1751174231,
|
||||
"narHash": "sha256-OLPo3ZI/gKH0C6P6l2W9RYm1ow/Jl4qBrasQ3rjAA0E=",
|
||||
"owner": "srid",
|
||||
"repo": "nixos-unified",
|
||||
"rev": "05eb3d59d3b48460ea01c419702d4fc0c3210805",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "srid",
|
||||
"repo": "nixos-unified",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1767325753,
|
||||
"narHash": "sha256-yA/CuWyqm+AQo2ivGy6PlYrjZBQm7jfbe461+4HF2fo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "64049ca74d63e971b627b5f3178d95642e61cedd",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-25.11",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"dir": "lib",
|
||||
"lastModified": 1703961334,
|
||||
"narHash": "sha256-M1mV/Cq+pgjk0rt6VxoyyD+O8cOUiai8t9Q6Yyq4noY=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b0d36bd0a420ecee3bc916c91886caca87c894e9",
|
||||
"lastModified": 1765674936,
|
||||
"narHash": "sha256-k00uTP4JNfmejrCLJOwdObYC9jHRrr/5M/a/8L2EIdo=",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"rev": "2075416fcb47225d9b68ac469a5c4801a9c4dd85",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"dir": "lib",
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_2": {
|
||||
"locked": {
|
||||
"lastModified": 1705183652,
|
||||
"narHash": "sha256-rnfkyUH0x72oHfiSDhuCHDHg3gFgF+lF8zkkg5Zihsw=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "428544ae95eec077c7f823b422afae5f174dee4b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-23.11",
|
||||
"repo": "nixpkgs",
|
||||
"owner": "nix-community",
|
||||
"repo": "nixpkgs.lib",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"emanote": "emanote",
|
||||
"flake-parts": [
|
||||
"emanote",
|
||||
"flake-parts"
|
||||
],
|
||||
"nixpkgs": "nixpkgs_2"
|
||||
}
|
||||
},
|
||||
"systems": {
|
||||
"locked": {
|
||||
"lastModified": 1681028828,
|
||||
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nix-systems",
|
||||
"repo": "default",
|
||||
"type": "github"
|
||||
"flake-parts": "flake-parts",
|
||||
"git-hooks-nix": "git-hooks-nix",
|
||||
"nixpkgs": "nixpkgs",
|
||||
"treefmt-nix": "treefmt-nix"
|
||||
}
|
||||
},
|
||||
"treefmt-nix": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"emanote",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1693468138,
|
||||
"narHash": "sha256-DddblCahuTW8K0ncPOheTlG3igE8b15LJjafF1PWhOo=",
|
||||
"lastModified": 1767468822,
|
||||
"narHash": "sha256-MpffQxHxmjVKMiQd0Tg2IM/bSjjdQAM+NDcX6yxj7rE=",
|
||||
"owner": "numtide",
|
||||
"repo": "treefmt-nix",
|
||||
"rev": "6930a5ba0a722385baf273885a03f561dcb1af67",
|
||||
"rev": "d56486eb9493ad9c4777c65932618e9c2d0468fc",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
@@ -245,15 +335,16 @@
|
||||
"unionmount": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1691619410,
|
||||
"narHash": "sha256-V9/OcGu9cy4kV9jta12A6w5BEj8awSEVYrXPpg8YckQ=",
|
||||
"lastModified": 1755566785,
|
||||
"narHash": "sha256-1TBIhcgbQxBF48ET7Dy+PM3U2lCROBDVg5PhOtm2Q/M=",
|
||||
"owner": "srid",
|
||||
"repo": "unionmount",
|
||||
"rev": "ed73b627f88c8f021f41ba4b518ba41beff9df42",
|
||||
"rev": "4387cdeca64d22ff02da318b1527ff8817123ced",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "srid",
|
||||
"ref": "0.3.0.0",
|
||||
"repo": "unionmount",
|
||||
"type": "github"
|
||||
}
|
||||
|
||||
172
flake.nix
172
flake.nix
@@ -1,35 +1,171 @@
|
||||
{
|
||||
description = "System flake for Linode NixOS server";
|
||||
|
||||
nixConfig = {
|
||||
extra-substituters = "https://srid.cachix.org";
|
||||
extra-trusted-public-keys = "srid.cachix.org-1:3clnql5gjbJNEvhA/WQp7nrZlBptwpXnUk6JAv8aB2M=";
|
||||
};
|
||||
description = "Flake.parts System flake for Linode NixOS server";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-25.11";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
|
||||
emanote.url = "github:srid/emanote";
|
||||
emanote.inputs.emanote-template.follows = "";
|
||||
flake-parts.follows = "emanote/flake-parts";
|
||||
# nixpkgs.follows = "emanote/nixpkgs";
|
||||
emanote.inputs.nixpkgs.follows = "nixpkgs";
|
||||
emanote.inputs.flake-parts.follows = "flake-parts";
|
||||
git-hooks-nix.url = "github:cachix/git-hooks.nix";
|
||||
git-hooks-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
treefmt-nix.url = "github:numtide/treefmt-nix";
|
||||
treefmt-nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
};
|
||||
|
||||
outputs = inputs@{ self, nixpkgs, emanote, ... }:
|
||||
{
|
||||
nixosConfigurations.linode-nixos =
|
||||
nixpkgs.lib.nixosSystem {
|
||||
specialArgs = { inherit inputs emanote; };
|
||||
nixConfig = {
|
||||
trusted-substituters = "https://cache.garnix.io";
|
||||
extra-trusted-public-keys = "cache.garnix.io:CTFPyKSLcx5RMJKfLo5EEPUObbA78b0YQ2DTCJXqr9g=";
|
||||
};
|
||||
|
||||
outputs = inputs @ {flake-parts, ...}:
|
||||
flake-parts.lib.mkFlake {inherit inputs;} {
|
||||
imports = [
|
||||
# To import a flake module
|
||||
# 1. Add foo to inputs
|
||||
# 2. Add foo as a parameter to the outputs function
|
||||
# 3. Add here: foo.flakeModule
|
||||
inputs.emanote.flakeModule
|
||||
inputs.git-hooks-nix.flakeModule
|
||||
inputs.treefmt-nix.flakeModule
|
||||
];
|
||||
|
||||
systems = [
|
||||
"x86_64-linux"
|
||||
# "aarch64-linux"
|
||||
# "aarch64-darwin"
|
||||
# "x86_64-darwin"
|
||||
];
|
||||
|
||||
flake = {
|
||||
# The usual flake attributes can be defined here, including system-
|
||||
# agnostic ones like nixosModule and system-enumerating ones, although
|
||||
# those are more easily expressed in perSystem.
|
||||
|
||||
nixosConfigurations = {
|
||||
linode-nixos = inputs.nixpkgs.lib.nixosSystem {
|
||||
# system is not needed with freshly generated hardware-configuration.nix
|
||||
# system = "x86_64-linux"; # or set nixpkgs.hostPlatform in a module.
|
||||
specialArgs = {inherit inputs;};
|
||||
modules = [
|
||||
{
|
||||
nixpkgs.config.permittedInsecurePackages = [
|
||||
"jitsi-meet-1.0.8792"
|
||||
];
|
||||
}
|
||||
|
||||
./server-config/configuration.nix
|
||||
|
||||
./nixos-apps
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
hydraJobs = {
|
||||
inherit (self)
|
||||
nixosConfigurations;
|
||||
perSystem = {
|
||||
config,
|
||||
self',
|
||||
inputs',
|
||||
pkgs,
|
||||
system,
|
||||
...
|
||||
}: {
|
||||
# Per-system attributes can be defined here. The self' and inputs'
|
||||
# module parameters provide easy access to attributes of the same
|
||||
# system.
|
||||
|
||||
emanote.sites = {
|
||||
osds-site = {
|
||||
layers = [
|
||||
{
|
||||
path = ./nixos-apps/ewanick.com;
|
||||
pathString = "nixos-apps/ewanick.com";
|
||||
}
|
||||
];
|
||||
port = 5567;
|
||||
};
|
||||
};
|
||||
|
||||
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
|
||||
# packages.default = pkgs.hello;
|
||||
|
||||
devShells.default = let
|
||||
# https://downloads.haskell.org/~ghc/9.10.3/docs/users_guide/index.html
|
||||
ghc' = pkgs.haskell.packages.ghc9103.ghcWithHoogle (
|
||||
self:
|
||||
with self; [
|
||||
relude
|
||||
split
|
||||
aeson
|
||||
random
|
||||
neat-interpolation
|
||||
|
||||
# maths
|
||||
primes
|
||||
arithmoi
|
||||
parallel
|
||||
|
||||
# graphing libraries!
|
||||
Chart
|
||||
Chart-cairo
|
||||
]
|
||||
);
|
||||
|
||||
clean = pkgs.writeShellScriptBin "clean" ''
|
||||
# Delete executables
|
||||
find . -type f -executable -not -path '*/.git/*' -delete
|
||||
|
||||
# Delete all Haskell IR files
|
||||
find . -type f -name '*.hi' -delete
|
||||
find . -type f -name '*.o' -delete
|
||||
|
||||
# Delete any test graphs created
|
||||
find . -type f -name '*.png' -delete
|
||||
'';
|
||||
in
|
||||
pkgs.mkShell {
|
||||
packages = with pkgs; [
|
||||
cowsay
|
||||
|
||||
alejandra
|
||||
|
||||
ghc'
|
||||
clean
|
||||
|
||||
haskell-language-server
|
||||
ghcid
|
||||
hlint
|
||||
|
||||
kotlin
|
||||
];
|
||||
|
||||
shellHook = ''
|
||||
${config.pre-commit.installationScript}
|
||||
|
||||
echo Hello alice
|
||||
'';
|
||||
};
|
||||
|
||||
pre-commit = {
|
||||
settings.hooks = {
|
||||
alejandra.enable = true;
|
||||
mdformat.enable = true;
|
||||
prettier.enable = true;
|
||||
prettier.excludes = [".*\.md" "flake.lock"];
|
||||
stylish-haskell.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
treefmt = {
|
||||
programs = {
|
||||
alejandra.enable = true;
|
||||
mdformat.enable = true;
|
||||
prettier.enable = true;
|
||||
prettier.excludes = ["*.md"];
|
||||
stylish-haskell.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,9 +1,6 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/cutesealfanpage.love";
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
|
||||
@@ -7,10 +7,10 @@
|
||||
|
||||
./ewanick.com.nix
|
||||
./git.ewanick.com.nix
|
||||
./paperless.ewanick.com.nix
|
||||
|
||||
./fancytypist.com.nix
|
||||
./hydra.fancyTypist.com.nix
|
||||
|
||||
# ./paperless.ewanick.com.nix
|
||||
];
|
||||
|
||||
# when in doubt, clear away the certs with
|
||||
@@ -20,5 +20,8 @@
|
||||
# uncomment this to use the staging server
|
||||
# security.acme.server = "https://acme-staging-v02.api.letsencrypt.org/directory";
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
}
|
||||
|
||||
@@ -1,19 +1,17 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
description = "A blog powered by Emanote running solely on Markdown files.";
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/ewanick.com";
|
||||
PORT = "5567";
|
||||
HOST = "localhost";
|
||||
emanote-version = "1.2.0";
|
||||
in
|
||||
{
|
||||
PORT = 5567;
|
||||
emanote-version = "1.4.0.0";
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
"ewanick.com" = {
|
||||
serverAliases = ["www.ewanick.com"];
|
||||
extraConfig = ''
|
||||
reverse_proxy ${HOST}:${PORT}
|
||||
reverse_proxy ${HOST}:${toString PORT}
|
||||
'';
|
||||
};
|
||||
};
|
||||
@@ -24,9 +22,13 @@ in
|
||||
enable = true;
|
||||
description = "A blog powered by Emanote running solely on Markdown files.";
|
||||
path = with pkgs; [nix git];
|
||||
wantedBy = ["multi-user.target"];
|
||||
script = ''
|
||||
cd ${PROJECT_ROOT}
|
||||
nix run github:srid/emanote/${emanote-version} -- run --port ${PORT} --host ${HOST}
|
||||
nix run github:srid/emanote/${emanote-version} \
|
||||
-- run \
|
||||
--port ${toString PORT} \
|
||||
--host ${HOST}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
@@ -1,8 +1,17 @@
|
||||
# Bill Ewanick
|
||||
|
||||
A Nix evangelist and Haskell enthusiast.
|
||||
Software developer for hire, professional experience in all things JavaScript.
|
||||
Contact me for contract work at `<firstName>@<lastName>.com`
|
||||
:::{.flex}
|
||||
|
||||
- Senior Software Developer
|
||||
- Nix evangelist
|
||||
- Haskell disciple
|
||||
- Polyglot programmer familiar with everything, from Ada to Zig.
|
||||
|
||||
Software developer for hire.\
|
||||
Contact me for contract work at `<firstName>@<lastName>.com`\
|
||||
See what I'm currently tinkering with at:\
|
||||
<https://git.ewanick.com/bill>
|
||||
|
||||
:::{.photoframe-center}
|
||||
![[profile.jpg]]
|
||||
|
||||
!\[[profile.jpg]\]
|
||||
|
||||
@@ -26,7 +26,7 @@ pandoc:
|
||||
prose: max-w-prose mx-auto
|
||||
|
||||
# Centered photo
|
||||
photoframe-center: sm:w-3/4 md:w-1/2 mx-auto flex items-center justify-center
|
||||
photoframe-center: flex-initial
|
||||
|
||||
# Photo floating to right
|
||||
photoframe: w-full sm:w-64 float-right sm:ml-2 mb-2 sm:mb-0 border-2 p-1 bg-gray-50
|
||||
|
||||
Submodule nixos-apps/fancyTypist.dev updated: b613f4b469...91ceedebe9
@@ -1,11 +1,8 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
let
|
||||
{pkgs, ...}: let
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/fancyTypist.dev";
|
||||
HOST = "localhost";
|
||||
PORT = 12513;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
virtualHosts = {
|
||||
@@ -29,14 +26,8 @@ in
|
||||
'';
|
||||
};
|
||||
|
||||
"helpme.fancytypist.ca" = {
|
||||
extraConfig = ''
|
||||
respond "Welcome to only other subdomain...helpme!"
|
||||
'';
|
||||
};
|
||||
|
||||
"fancytypist.dev" = {
|
||||
serverAliases = [ "www.fancytypist.dev" ];
|
||||
"osds.fancytypist.dev" = {
|
||||
serverAliases = ["osds.fancytypist.dev"];
|
||||
extraConfig = ''
|
||||
reverse_proxy ${HOST}:${toString PORT}
|
||||
'';
|
||||
@@ -46,23 +37,25 @@ in
|
||||
|
||||
systemd.services = {
|
||||
fancyTypistDotDev-site = {
|
||||
enable = true;
|
||||
enable = false;
|
||||
description = "The Haskell Servant executable server that hosts my FancyTypist.dev site.";
|
||||
path = with pkgs; [ nix git ];
|
||||
path = with pkgs; [
|
||||
nix
|
||||
git
|
||||
];
|
||||
script = ''
|
||||
cd ${PROJECT_ROOT}
|
||||
nix run .#fancyTypistDotDev-site
|
||||
'';
|
||||
};
|
||||
|
||||
osdsFancyTypistSubdomain-site = {
|
||||
enable = true;
|
||||
description = "Emanote site running the OSDS content.";
|
||||
path = with pkgs; [ nix git ];
|
||||
script = ''
|
||||
cd ${PROJECT_ROOT}
|
||||
nix run .#osdsFancyTypistSubdomain-site
|
||||
'';
|
||||
};
|
||||
|
||||
services.lemmy = {
|
||||
enable = true;
|
||||
settings = {
|
||||
hostname = "helpme.fancytypist.ca";
|
||||
database.createLocally = true;
|
||||
};
|
||||
caddy.enable = true;
|
||||
};
|
||||
}
|
||||
|
||||
@@ -1,46 +1,47 @@
|
||||
{ pkgs, ... }:
|
||||
let baseUrl = "git.ewanick.com";
|
||||
in
|
||||
{
|
||||
{pkgs, ...}: let
|
||||
baseUrl = "git.ewanick.com";
|
||||
PROJECT_ROOT = "/workspace/deployed-nixos-server-and-apps/nixos-apps/git.ewanick.com";
|
||||
in {
|
||||
services.gitea = {
|
||||
enable = true;
|
||||
appName = "Bill's Gitea server, hosted on Linode using NixOS";
|
||||
lfs.enable = true;
|
||||
settings = {
|
||||
server = {
|
||||
DOMAIN = baseUrl;
|
||||
ROOT_URL = "https://${baseUrl}/";
|
||||
HTTP_PORT = 3000;
|
||||
};
|
||||
service = {
|
||||
DISABLE_REGISTRATION = true;
|
||||
service.DISABLE_REGISTRATION = true;
|
||||
|
||||
actions = {
|
||||
ENABLED = true;
|
||||
DEFAULT_ACTIONS_URL = "github";
|
||||
};
|
||||
# actions = {
|
||||
# ENABLED = true;
|
||||
# DEFAULT_ACTIONS_URL = "self";
|
||||
# };
|
||||
};
|
||||
};
|
||||
|
||||
# services.gitea-actions-runner.instances = {
|
||||
# "first-runner" = {
|
||||
# enable = true;
|
||||
# url = baseUrl;
|
||||
# tokenFile = ./git.ewanick.com/tokenFile;
|
||||
# hostPackages = with pkgs; [
|
||||
# bash
|
||||
# coreutils
|
||||
# curl
|
||||
# gawk
|
||||
# gitMinimal
|
||||
# gnused
|
||||
# wget
|
||||
# ];
|
||||
# name = "linode-nixos";
|
||||
# labels = [
|
||||
# "native:host"
|
||||
# ];
|
||||
# };
|
||||
# };
|
||||
services.gitea-actions-runner = {
|
||||
instances.default = {
|
||||
enable = true;
|
||||
name = "linode-nixos";
|
||||
url = "https://${baseUrl}/";
|
||||
tokenFile = "${PROJECT_ROOT}/tokenFile";
|
||||
hostPackages = with pkgs; [
|
||||
bash
|
||||
coreutils
|
||||
curl
|
||||
gawk
|
||||
gitMinimal
|
||||
gnused
|
||||
wget
|
||||
];
|
||||
labels = [
|
||||
"debian-latest:docker://node:23-bookworm"
|
||||
"native:host"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.caddy = {
|
||||
enable = true;
|
||||
@@ -52,9 +53,9 @@ in
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
virtualisation.docker.enable = true;
|
||||
}
|
||||
|
||||
|
||||
/*
|
||||
# README
|
||||
|
||||
@@ -67,3 +68,4 @@ in
|
||||
$ /nix/store/5xwh7m7252m9ljvr3lyilcza1q699r2c-gitea-1.17.4/bin/gitea -c /var/lib/gitea/custom/conf/app.ini admin user list
|
||||
```
|
||||
*/
|
||||
|
||||
|
||||
@@ -2,8 +2,7 @@ let
|
||||
baseUrl = "hydra.fancyTypist.com";
|
||||
HOST = "localhost";
|
||||
PORT = 8246;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.hydra = {
|
||||
enable = false;
|
||||
port = PORT;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
services.jitsi-meet = {
|
||||
enable = false;
|
||||
enable = true;
|
||||
hostName = "jitsi.crueltysquad.com";
|
||||
config = {
|
||||
enableWelcomePage = false;
|
||||
|
||||
@@ -1,10 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
let
|
||||
# Currently disabled, having issues starting
|
||||
{pkgs, ...}: let
|
||||
baseUrl = "paperless.ewanick.com";
|
||||
HOST = "localhost";
|
||||
PORT = 28981;
|
||||
in
|
||||
{
|
||||
in {
|
||||
services.paperless = {
|
||||
enable = true;
|
||||
address = HOST;
|
||||
|
||||
6
run.sh
Executable file
6
run.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#! /usr/bin/env nix-shell
|
||||
#! nix-shell -i bash -p bash
|
||||
sudo \
|
||||
nixos-rebuild switch \
|
||||
--option eval-cache false \
|
||||
--flake /workspace/deployed-nixos-server-and-apps#linode-nixos
|
||||
@@ -1,12 +1,14 @@
|
||||
# Edit this configuration file to define what should be installed on
|
||||
# your system. Help is available in the configuration.nix(5) man page
|
||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||
|
||||
{ inputs, config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
inputs,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
# Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
@@ -36,15 +38,23 @@
|
||||
auto-optimise-store = true;
|
||||
|
||||
# Required by Cachix to be used as non-root user
|
||||
trusted-users = [ "root" "alice" ];
|
||||
trusted-users = [
|
||||
"root"
|
||||
"alice"
|
||||
];
|
||||
|
||||
experimental-features = [ "nix-command" "flakes" ];
|
||||
experimental-features = [
|
||||
"nix-command"
|
||||
"flakes"
|
||||
];
|
||||
};
|
||||
|
||||
extraOptions = ''
|
||||
# https://github.com/nix-community/nix-direnv#home-manager
|
||||
keep-outputs = true
|
||||
keep-derivations = true
|
||||
|
||||
accept-flake-config = true
|
||||
'';
|
||||
|
||||
# Automate garbage collection
|
||||
@@ -56,29 +66,35 @@
|
||||
};
|
||||
|
||||
# Configure keymap in X11
|
||||
services.xserver.layout = "us";
|
||||
services.xserver.xkbOptions = "ctrl:swapcaps";
|
||||
services.xserver.xkb.layout = "us";
|
||||
services.xserver.xkb.options = "ctrl:swapcaps";
|
||||
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.alice = {
|
||||
isNormalUser = true;
|
||||
home = "/home/alice";
|
||||
description = "Alice Foobar";
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
extraGroups = [
|
||||
"wheel"
|
||||
"networkmanager"
|
||||
];
|
||||
packages = with pkgs; [
|
||||
tldr
|
||||
];
|
||||
hashedPassword = "$y$j9T$7AufeqRXQaD9CxeBmwBUt0$.qNf/QdO5BGc0peHvHzDQqs1B48D0pYw9PhIDzcYAK8";
|
||||
openssh.authorizedKeys.keys = [ "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGzXqcOu6/EjS60Ke55w4hj//lY6u3S1DYPoSd7yjdR3 alice@foobar" ];
|
||||
hashedPassword = "$y$j9T$7AufeqRXQaD9CxeBmwBUt0$.qNf/QdO5BGc0peHvHzDQqs1B48D0pYw9PhIDzcYAK8"; # cspell:disable-line
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGzXqcOu6/EjS60Ke55w4hj//lY6u3S1DYPoSd7yjdR3 alice@foobar" # cspell:disable-line
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
wget
|
||||
busybox # nohup specifically
|
||||
git
|
||||
kitty
|
||||
screen
|
||||
wget
|
||||
|
||||
# Linode tools
|
||||
inetutils
|
||||
@@ -89,9 +105,11 @@
|
||||
# Enable Nix-ld for remote VSCode SSH to work
|
||||
programs.nix-ld.enable = true;
|
||||
environment.variables = {
|
||||
NIX_LD_LIBRARY_PATH = lib.mkDefault (lib.makeLibraryPath [
|
||||
NIX_LD_LIBRARY_PATH = lib.mkDefault (
|
||||
lib.makeLibraryPath [
|
||||
pkgs.stdenv.cc.cc
|
||||
]);
|
||||
]
|
||||
);
|
||||
NIX_LD = lib.mkDefault (lib.fileContents "${pkgs.stdenv.cc}/nix-support/dynamic-linker");
|
||||
};
|
||||
|
||||
@@ -104,7 +122,10 @@
|
||||
};
|
||||
|
||||
# Open ports in the firewall.
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
networking.firewall.allowedTCPPorts = [
|
||||
80
|
||||
443
|
||||
];
|
||||
networking.useDHCP = false;
|
||||
networking.interfaces.eth0.useDHCP = true;
|
||||
|
||||
@@ -120,5 +141,5 @@
|
||||
# this value at the release version of the first install of this system.
|
||||
# Before changing this value read the documentation for this option
|
||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||
system.stateVersion = "23.05"; # Did you read the comment?
|
||||
system.stateVersion = "25.11"; # Did you read the comment?
|
||||
}
|
||||
|
||||
@@ -1,11 +1,15 @@
|
||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||
# and may be overwritten by future invocations. Please make changes
|
||||
# to /etc/nixos/configuration.nix instead.
|
||||
{ config, lib, pkgs, modulesPath, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[ (modulesPath + "/profiles/qemu-guest.nix")
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
modulesPath,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
(modulesPath + "/profiles/qemu-guest.nix")
|
||||
];
|
||||
|
||||
boot.initrd.availableKernelModules = ["virtio_pci" "virtio_scsi" "ahci" "sd_mod"];
|
||||
@@ -24,13 +28,13 @@
|
||||
boot.loader.grub.device = "nodev";
|
||||
boot.loader.timeout = 10;
|
||||
|
||||
fileSystems."/" =
|
||||
{ device = "/dev/sda";
|
||||
fileSystems."/" = {
|
||||
device = "/dev/sda";
|
||||
fsType = "ext4";
|
||||
};
|
||||
|
||||
swapDevices =
|
||||
[ { device = "/dev/sdb"; }
|
||||
swapDevices = [
|
||||
{device = "/dev/sdb";}
|
||||
];
|
||||
|
||||
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
|
||||
|
||||
Reference in New Issue
Block a user