finalise wallpaper
This commit is contained in:
parent
ef0c9157f4
commit
eabb1371eb
12 changed files with 217 additions and 25 deletions
94
flakes/lutgen/flake.lock
generated
Normal file
94
flakes/lutgen/flake.lock
generated
Normal file
|
@ -0,0 +1,94 @@
|
|||
{
|
||||
"nodes": {
|
||||
"flake-parts": {
|
||||
"inputs": {
|
||||
"nixpkgs-lib": "nixpkgs-lib"
|
||||
},
|
||||
"locked": {
|
||||
"lastModified": 1693611461,
|
||||
"narHash": "sha256-aPODl8vAgGQ0ZYFIRisxYG5MOGSkIczvu2Cd8Gb9+1Y=",
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"rev": "7f53fdb7bdc5bb237da7fefef12d099e4fd611ca",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "hercules-ci",
|
||||
"repo": "flake-parts",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"lutgen-lock": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"narHash": "sha256-wPSo2ud3bsl2zi1kqLw4nEmZjJqbTFdvonjsd8ZMoeE=",
|
||||
"type": "file",
|
||||
"url": "https://raw.githubusercontent.com/ozwaldorf/lutgen-rs/main/Cargo.lock"
|
||||
},
|
||||
"original": {
|
||||
"type": "file",
|
||||
"url": "https://raw.githubusercontent.com/ozwaldorf/lutgen-rs/main/Cargo.lock"
|
||||
}
|
||||
},
|
||||
"lutgen-src": {
|
||||
"flake": false,
|
||||
"locked": {
|
||||
"lastModified": 1694897750,
|
||||
"narHash": "sha256-f8uxk/QkoaVJQmFWAi7/QHAI6BTf0CEL/0YCs7F4GjQ=",
|
||||
"owner": "ozwaldorf",
|
||||
"repo": "lutgen-rs",
|
||||
"rev": "f717541ae6b0ffc1f001132ccb0e8108de761e19",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "ozwaldorf",
|
||||
"repo": "lutgen-rs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1695644571,
|
||||
"narHash": "sha256-asS9dCCdlt1lPq0DLwkVBbVoEKuEuz+Zi3DG7pR/RxA=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "6500b4580c2a1f3d0f980d32d285739d8e156d92",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"nixpkgs-lib": {
|
||||
"locked": {
|
||||
"dir": "lib",
|
||||
"lastModified": 1693471703,
|
||||
"narHash": "sha256-0l03ZBL8P1P6z8MaSDS/MvuU8E75rVxe5eE1N6gxeTo=",
|
||||
"owner": "NixOS",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "3e52e76b70d5508f3cec70b882a29199f4d1ee85",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"dir": "lib",
|
||||
"owner": "NixOS",
|
||||
"ref": "nixos-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
"root": {
|
||||
"inputs": {
|
||||
"flake-parts": "flake-parts",
|
||||
"lutgen-lock": "lutgen-lock",
|
||||
"lutgen-src": "lutgen-src",
|
||||
"nixpkgs": "nixpkgs"
|
||||
}
|
||||
}
|
||||
},
|
||||
"root": "root",
|
||||
"version": 7
|
||||
}
|
54
flakes/lutgen/flake.nix
Normal file
54
flakes/lutgen/flake.nix
Normal file
|
@ -0,0 +1,54 @@
|
|||
{
|
||||
description = "Description for the project";
|
||||
|
||||
inputs = {
|
||||
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
|
||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||
lutgen-lock = {
|
||||
url = "https://raw.githubusercontent.com/ozwaldorf/lutgen-rs/main/Cargo.lock";
|
||||
flake = false;
|
||||
};
|
||||
lutgen-src = {
|
||||
url = "github:ozwaldorf/lutgen-rs";
|
||||
flake = false;
|
||||
};
|
||||
};
|
||||
|
||||
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
|
||||
];
|
||||
systems = ["x86_64-linux" "aarch64-linux" "aarch64-darwin" "x86_64-darwin"];
|
||||
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.
|
||||
|
||||
# Equivalent to inputs'.nixpkgs.legacyPackages.hello;
|
||||
packages.default = pkgs.rustPlatform.buildRustPackage rec {
|
||||
pname = "lutgen";
|
||||
version = "git-${inputs.lutgen-src.lastModifiedDate}";
|
||||
src = inputs.lutgen-src;
|
||||
cargoLock = {
|
||||
lockFile = inputs.lutgen-lock;
|
||||
};
|
||||
};
|
||||
};
|
||||
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.
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue