mirror of
https://github.com/daylinmorgan/oizys.git
synced 2024-12-28 02:30:44 -06:00
Compare commits
3 commits
dfb825e72d
...
b33633cd3c
Author | SHA1 | Date | |
---|---|---|---|
b33633cd3c | |||
6ad1950f5e | |||
c26350a67f |
8 changed files with 11 additions and 21 deletions
12
flake.lock
12
flake.lock
|
@ -285,17 +285,17 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1710254816,
|
||||
"narHash": "sha256-kBLnEm464FvFdyqkqDn2FdhYWqMjoM+62OwLD+d4NDE=",
|
||||
"owner": "wegank",
|
||||
"lastModified": 1710313540,
|
||||
"narHash": "sha256-HtTTpGe0azsEJVaT9RvbGFGB4idUneraLiUTxFb3ABM=",
|
||||
"owner": "nixos",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "51d879e6533624bd124a60adf8aa3c304a7f9523",
|
||||
"rev": "4008381882569ab4773f2ba0d7b7bbde8f665672",
|
||||
"type": "github"
|
||||
},
|
||||
"original": {
|
||||
"owner": "wegank",
|
||||
"owner": "nixos",
|
||||
"ref": "nixpkgs-unstable",
|
||||
"repo": "nixpkgs",
|
||||
"rev": "51d879e6533624bd124a60adf8aa3c304a7f9523",
|
||||
"type": "github"
|
||||
}
|
||||
},
|
||||
|
|
|
@ -8,12 +8,7 @@
|
|||
.oizysFlake {};
|
||||
|
||||
inputs = {
|
||||
|
||||
# nixpkgs.url = "github:nixos/nixpkgs/032162631dbfefa15898fc5ddd8daef484fd6d53";
|
||||
# nixpkgs.url = "github:nixos/nixpkgs/d5decf6e964b50425195ea8fd831931bb10b064f";
|
||||
# nixpkgs.url = "github:nixos/nixpkgs/bfa8b30043892dc2b660d403faa159bab7b65898";
|
||||
nixpkgs.url = "github:wegank/nixpkgs/51d879e6533624bd124a60adf8aa3c304a7f9523";
|
||||
|
||||
nixpkgs.url = "github:nixos/nixpkgs/nixpkgs-unstable";
|
||||
stable.url = "github:nixos/nixpkgs/nixos-23.11";
|
||||
|
||||
hyprland.url = "github:hyprwm/Hyprland/main";
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
lib = nixpkgs.lib.extend (import ./extended.nix);
|
||||
|
||||
inherit (builtins) concatLists attrValues mapAttrs elemAt match readDir filter listToAttrs;
|
||||
inherit (lib) hasSuffix nixosSystem genAttrs isNixFile;
|
||||
inherit (lib) nixosSystem genAttrs isNixFile;
|
||||
inherit (lib.filesystem) listFilesRecursive;
|
||||
|
||||
#supportedSystems = ["x86_64-linux" "x86_64-darwin" "aarch64-linux" "aarch64-darwin"];
|
||||
|
|
|
@ -1,11 +1,9 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkOption types literalExpression mdDoc;
|
||||
cfg = config.oizys.languages;
|
||||
in {
|
||||
imports = [./nim.nix ./tex.nix ./misc.nix ./node.nix ./python.nix];
|
||||
options.oizys.languages = mkOption {
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf mkIfIn;
|
||||
inherit (lib) mkIfIn;
|
||||
cfg = config.oizys.languages;
|
||||
in {
|
||||
config = mkIfIn "tex" cfg {
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkEnableOption mkIf;
|
||||
|
|
|
@ -161,11 +161,9 @@ when isMainModule:
|
|||
for kind, key, val in p.getopt():
|
||||
case kind
|
||||
of cmdArgument:
|
||||
echo key
|
||||
subcmd = key
|
||||
of cmdLongOption, cmdShortOption:
|
||||
if key == "":
|
||||
break
|
||||
if key == "": break
|
||||
parseFlag c, kind, key, val
|
||||
of cmdEnd:
|
||||
discard
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
in {
|
||||
nixpkgs.overlays = defaultOverlays ++ [
|
||||
(
|
||||
final: prev: {
|
||||
final: _prev: {
|
||||
stable = import inputs.stable { system = final.system;
|
||||
config.allowUnfree = true;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue