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