mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-23 11:00:44 -06:00
Compare commits
10 commits
7c9c031506
...
b020fe0230
Author | SHA1 | Date | |
---|---|---|---|
b020fe0230 | |||
1f02f54ad1 | |||
739321c1b2 | |||
2f9b2d6841 | |||
8f9de113d3 | |||
036ca7b1e5 | |||
7c37347ff3 | |||
4fe095d087 | |||
1433aee6d3 | |||
745c91462b |
7 changed files with 58 additions and 29 deletions
7
.github/actions/clean-disk/action.yml
vendored
7
.github/actions/clean-disk/action.yml
vendored
|
@ -41,18 +41,19 @@ runs:
|
|||
$(non_manifest_packages) # > /dev/null
|
||||
fi
|
||||
|
||||
GLOBIGNORE="/usr/share/git-core/**/*"
|
||||
sudo rm -rf \
|
||||
/var/lib/docker/ \
|
||||
"$AGENT_TOOLSDIRECTORY" \
|
||||
/opt \
|
||||
/usr/{local,share} &
|
||||
/usr/local/** &
|
||||
|
||||
# nix flake update wants to find git-core templates
|
||||
# /usr/share/git-core/templates
|
||||
# /usr/share/**
|
||||
{
|
||||
sudo swapoff -a
|
||||
sudo rm -f /mnt/swapfile
|
||||
} &
|
||||
|
||||
wait
|
||||
echo "... done"
|
||||
|
||||
|
|
6
.github/workflows/build.yml
vendored
6
.github/workflows/build.yml
vendored
|
@ -6,7 +6,7 @@ on:
|
|||
hosts:
|
||||
description: 'list of hosts to build'
|
||||
required: true
|
||||
default: 'othalan algiz'
|
||||
default: ',othalan,algiz'
|
||||
type: string
|
||||
lockFile:
|
||||
description: 'flake.lock file'
|
||||
|
@ -16,7 +16,7 @@ on:
|
|||
inputs:
|
||||
hosts:
|
||||
description: 'list of hosts to build'
|
||||
default: 'othalan algiz'
|
||||
default: ',othalan,algiz'
|
||||
type: string
|
||||
|
||||
# concurrency:
|
||||
|
@ -60,7 +60,7 @@ jobs:
|
|||
nix run . \
|
||||
-- \
|
||||
build --minimal \
|
||||
--host "${{ inputs.hosts }}" \
|
||||
--host,="${{ inputs.hosts }}" \
|
||||
--flake . \
|
||||
--debug \
|
||||
-- \
|
||||
|
|
59
flake.lock
59
flake.lock
|
@ -545,11 +545,32 @@
|
|||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725465990,
|
||||
"narHash": "sha256-+KN+E3B5lVxi5K0rrDC41l080n/r04LOpmfxK3ZJ058=",
|
||||
"lastModified": 1725469705,
|
||||
"narHash": "sha256-4/iSUwB3XKmybdt4R87VhBPiD3z4BL6RrD9LyrrkesM=",
|
||||
"owner": "daylinmorgan",
|
||||
"repo": "nim2nix",
|
||||
"rev": "cac4c7106ea09e04b4a555e4f957e38be65dfbb4",
|
||||
"rev": "42af12ca45025c7146bc24e27f5d8b65b003d663",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "daylinmorgan",
|
||||
"repo": "nim2nix",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nim2nix_2": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
"utils",
|
||||
"nixpkgs"
|
||||
]
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725469705,
|
||||
"narHash": "sha256-4/iSUwB3XKmybdt4R87VhBPiD3z4BL6RrD9LyrrkesM=",
|
||||
"owner": "daylinmorgan",
|
||||
"repo": "nim2nix",
|
||||
"rev": "42af12ca45025c7146bc24e27f5d8b65b003d663",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
|
@ -752,16 +773,16 @@
|
|||
},
|
||||
"nixpkgs_4": {
|
||||
"locked": {
|
||||
"lastModified": 1725194671,
|
||||
"narHash": "sha256-tLGCFEFTB5TaOKkpfw3iYT9dnk4awTP/q4w+ROpMfuw=",
|
||||
"lastModified": 1725103162,
|
||||
"narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "b833ff01a0d694b910daca6e2ff4a3f26dee478c",
|
||||
"rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
|
@ -798,6 +819,22 @@
|
|||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs_7": {
|
||||
"locked": {
|
||||
"lastModified": 1725103162,
|
||||
"narHash": "sha256-Ym04C5+qovuQDYL/rKWSR+WESseQBbNAe5DsXNx5trY=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "12228ff1752d7b7624a54e9c1af4b222b3c1073b",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "nixos",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"pixi": {
|
||||
"inputs": {
|
||||
"nixpkgs": [
|
||||
|
@ -1056,12 +1093,8 @@
|
|||
},
|
||||
"utils": {
|
||||
"inputs": {
|
||||
"nim2nix": [
|
||||
"nim2nix"
|
||||
],
|
||||
"nixpkgs": [
|
||||
"nixpkgs"
|
||||
]
|
||||
"nim2nix": "nim2nix_2",
|
||||
"nixpkgs": "nixpkgs_7"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1725378965,
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
outputs = inputs: (import ./lib inputs).oizysFlake;
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
||||
stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
||||
nixpkgs-wayland.url = "github:nix-community/nixpkgs-wayland";
|
||||
nixos-wsl.url = "github:nix-community/NixOS-WSL";
|
||||
|
@ -33,11 +33,6 @@
|
|||
hyprman.url = "git+https://git.dayl.in/daylin/hyprman.git";
|
||||
utils.url = "git+https://git.dayl.in/daylin/utils.git";
|
||||
|
||||
utils.inputs = {
|
||||
nixpkgs.follows = "nixpkgs";
|
||||
nim2nix.follows = "nim2nix";
|
||||
};
|
||||
|
||||
nim2nix.inputs.nixpkgs.follows = "nixpkgs";
|
||||
hyprman.inputs.nixpkgs.follows = "nixpkgs";
|
||||
f1multiviewer.inputs.nixpkgs.follows = "nixpkgs";
|
||||
|
|
|
@ -8,5 +8,5 @@ buildNimblePackage {
|
|||
verions = "unstable";
|
||||
src = lib.cleanSource ./.;
|
||||
nativeBuildInputs = [ openssl ];
|
||||
nimbleDepsHash = "sha256-n+K5hFiS1tEy2jDAoAoSgE75TCiqZK+al/0Mfc1d4kI=";
|
||||
nimbleDepsHash = "sha256-KErXGNNU5VVBHcvBmBhbagxZabHzajY5dF2OLHPmWf8=";
|
||||
}
|
||||
|
|
|
@ -53,6 +53,7 @@ proc cmpDrv(x, y: Derivation): int =
|
|||
cmp(x.name, y.name)
|
||||
|
||||
proc parseDryRunOutput(err: string): DryRunOutput =
|
||||
debug "parsing result of dry run"
|
||||
let lines = err.strip().splitLines()
|
||||
let theseLines = collect:
|
||||
for i, line in enumerate(lines):
|
||||
|
@ -238,8 +239,6 @@ proc nixBuildWithCache*(minimal: bool, name: string, rest:seq[string]) =
|
|||
else:
|
||||
cmd.addArgs nixosConfigAttrs()
|
||||
cmd.addArgs rest
|
||||
debug cmd
|
||||
quit QuitSuccess
|
||||
let err = runCmd(cmd)
|
||||
quit err
|
||||
|
||||
|
|
3
todo.md
3
todo.md
|
@ -3,10 +3,11 @@
|
|||
## oizys
|
||||
|
||||
- [ ] write a flake template that includes the systems boilerplate
|
||||
- [ ] include all of the defined overlays from `./overlays` in the `forAllSystems` nixpkgs
|
||||
|
||||
## software
|
||||
|
||||
- [ ] there seems tot be multiple version of mako
|
||||
- [ ] check if there are multiple version of mako?
|
||||
- [ ] lid closed does not engage hyprlock?
|
||||
> check the logind conf in Nixos
|
||||
- [ ] include langservers for enabled languages?
|
||||
|
|
Loading…
Reference in a new issue