Compare commits

...

3 commits

Author SHA1 Message Date
b33633cd3c
deadnix 2024-03-13 10:42:36 -05:00
6ad1950f5e
don't echo needlessly 2024-03-13 10:37:48 -05:00
c26350a67f
revert back to nixpkgs-unstable 2024-03-13 10:32:53 -05:00
8 changed files with 11 additions and 21 deletions

View file

@ -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"
}
},

View file

@ -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";

View file

@ -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"];

View file

@ -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 {

View file

@ -4,7 +4,7 @@
pkgs,
...
}: let
inherit (lib) mkIf mkIfIn;
inherit (lib) mkIfIn;
cfg = config.oizys.languages;
in {
config = mkIfIn "tex" cfg {

View file

@ -1,7 +1,6 @@
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;

View file

@ -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

View file

@ -12,7 +12,7 @@
in {
nixpkgs.overlays = defaultOverlays ++ [
(
final: prev: {
final: _prev: {
stable = import inputs.stable { system = final.system;
config.allowUnfree = true;
};