flake: bump

This commit is contained in:
Guanran Wang 2024-10-19 12:54:41 +08:00
parent d592800e5c
commit 73ad793310
Signed by: nyancat
GPG key ID: 91F97D9ED12639CF
8 changed files with 81 additions and 75 deletions

View file

@ -31,11 +31,11 @@
}, },
"crane": { "crane": {
"locked": { "locked": {
"lastModified": 1727974419, "lastModified": 1729273024,
"narHash": "sha256-WD0//20h+2/yPGkO88d2nYbb23WMWYvnRyDQ9Dx4UHg=", "narHash": "sha256-Mb5SemVsootkn4Q2IiY0rr9vrXdCCpQ9HnZeD/J3uXs=",
"owner": "ipetkov", "owner": "ipetkov",
"repo": "crane", "repo": "crane",
"rev": "37e4f9f0976cb9281cd3f0c70081e5e0ecaee93f", "rev": "fa8b7445ddadc37850ed222718ca86622be01967",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -51,11 +51,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728109432, "lastModified": 1729281548,
"narHash": "sha256-wmbErh8FG7dRKOtMMpHUqDtFjeqt9Zjx4zssSeTalwU=", "narHash": "sha256-MuojlSnwAJAwfhgmW8ZtZrwm2Sko4fqubCvReqbUzYw=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "48ebb577855fb2398653f033b3b2208a9249203d", "rev": "a6a3179ddf396dfc28a078e2f169354d0c137125",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -146,11 +146,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728041527, "lastModified": 1729260213,
"narHash": "sha256-03liqiJtk9UP7YQHW4r8MduKCK242FQzud8iWvvlK+o=", "narHash": "sha256-jAvHoU/1y/yCuXzr2fNF+q6uKmr8Jj2xgAisK4QB9to=",
"owner": "nix-community", "owner": "nix-community",
"repo": "home-manager", "repo": "home-manager",
"rev": "509dbf8d45606b618e9ec3bbe4e936b7c5bc6c1e", "rev": "09a0c0c02953318bf94425738c7061ffdc4cba75",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -159,6 +159,35 @@
"type": "github" "type": "github"
} }
}, },
"ip-checker": {
"inputs": {
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
],
"systems": [
"systems"
],
"treefmt-nix": [
"treefmt-nix"
]
},
"locked": {
"lastModified": 1729312090,
"narHash": "sha256-Xw4rhHlVQBTa2PkzF+bjvgxSop0i46oY/zPBxlykveo=",
"ref": "refs/heads/master",
"rev": "24b6477ef84041093ec88c4719368f05297052d0",
"revCount": 11,
"type": "git",
"url": "https://git.ny4.dev/nyancat/ip-checker"
},
"original": {
"type": "git",
"url": "https://git.ny4.dev/nyancat/ip-checker"
}
},
"lanzaboote": { "lanzaboote": {
"inputs": { "inputs": {
"crane": [ "crane": [
@ -181,11 +210,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728199407, "lastModified": 1729064530,
"narHash": "sha256-x4G0ja//3pT/epOvwxKR1XB7GAW7Yuwiy6RYCOgRjuQ=", "narHash": "sha256-oSr/w/5dvf/8ll6NvQlL7+rrK8wzjIcEMP1LvI4Ag08=",
"owner": "nix-community", "owner": "nix-community",
"repo": "lanzaboote", "repo": "lanzaboote",
"rev": "0bc127c631999c9555cae2b0cdad2128ff058259", "rev": "2fa1368f938b50e35ca87334b5aeba38a3402165",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -195,20 +224,7 @@
} }
}, },
"neovim": { "neovim": {
"inputs": { "flake": false,
"flake-utils": [
"flake-utils"
],
"nixpkgs": [
"nixpkgs"
],
"systems": [
"systems"
],
"treefmt-nix": [
"treefmt-nix"
]
},
"locked": { "locked": {
"lastModified": 1726316254, "lastModified": 1726316254,
"narHash": "sha256-82snaLYq0U2Wt5Vy+gFUmOTrjKEHOhm0uqaT6ycLKXc=", "narHash": "sha256-82snaLYq0U2Wt5Vy+gFUmOTrjKEHOhm0uqaT6ycLKXc=",
@ -225,11 +241,11 @@
}, },
"nixos-hardware": { "nixos-hardware": {
"locked": { "locked": {
"lastModified": 1728269138, "lastModified": 1728729581,
"narHash": "sha256-oKxDImsOvgUZMY4NwXVyUc/c1HiU2qInX+b5BU0yXls=", "narHash": "sha256-oazkQ/z7r43YkDLLQdMg8oIB3CwWNb+2ZrYOxtLEWTQ=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixos-hardware", "repo": "nixos-hardware",
"rev": "ecfcd787f373f43307d764762e139a7cdeb9c22b", "rev": "a8dd1b21995964b115b1e3ec639dd6ce24ab9806",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -240,11 +256,11 @@
}, },
"nixpkgs": { "nixpkgs": {
"locked": { "locked": {
"lastModified": 1728249353, "lastModified": 1729265718,
"narHash": "sha256-7NBJm1jfMeAowE1J2oljYqWVvI9X7FyyxBY4O8uB/Os=", "narHash": "sha256-4HQI+6LsO3kpWTYuVGIzhJs1cetFcwT7quWCk/6rqeo=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "c8a17040be4a20b29589cb4043a9e0c36af1930e", "rev": "ccc0c2126893dd20963580b6478d1a10a4512185",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -270,11 +286,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728092656, "lastModified": 1729104314,
"narHash": "sha256-eMeCTJZ5xBeQ0f9Os7K8DThNVSo9gy4umZLDfF5q6OM=", "narHash": "sha256-pZRZsq5oCdJt3upZIU4aslS9XwFJ+/nVtALHIciX/BI=",
"owner": "cachix", "owner": "cachix",
"repo": "git-hooks.nix", "repo": "git-hooks.nix",
"rev": "1211305a5b237771e13fcca0c51e60ad47326a9a", "rev": "3c3e88f0f544d6bb54329832616af7eb971b6be6",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -308,6 +324,7 @@
"flake-utils": "flake-utils", "flake-utils": "flake-utils",
"gitignore": "gitignore", "gitignore": "gitignore",
"home-manager": "home-manager", "home-manager": "home-manager",
"ip-checker": "ip-checker",
"lanzaboote": "lanzaboote", "lanzaboote": "lanzaboote",
"neovim": "neovim", "neovim": "neovim",
"nixos-hardware": "nixos-hardware", "nixos-hardware": "nixos-hardware",
@ -327,11 +344,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728268235, "lastModified": 1729304879,
"narHash": "sha256-lJMFnMO4maJuNO6PQ5fZesrTmglze3UFTTBuKGwR1Nw=", "narHash": "sha256-H7KGGJUU9BcDNnfXiATBGgs6FJKWQdfftNJS+/v2aMU=",
"owner": "oxalica", "owner": "oxalica",
"repo": "rust-overlay", "repo": "rust-overlay",
"rev": "25685cc2c7054efc31351c172ae77b21814f2d42", "rev": "b259ef799b5ac014604da71ecd92d4a52603ed2d",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -350,11 +367,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1728230538, "lastModified": 1728345710,
"narHash": "sha256-sbsMJOZgykaSdFbxLKghc0QMtolzl4P5nqpttBA3d5M=", "narHash": "sha256-lpunY1+bf90ts+sA2/FgxVNIegPDKCpEoWwOPu4ITTQ=",
"owner": "Mic92", "owner": "Mic92",
"repo": "sops-nix", "repo": "sops-nix",
"rev": "2750ed784e93e745a33fb55be7c2657adfb57c00", "rev": "06535d0e3d0201e6a8080dd32dbfde339b94f01b",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -385,11 +402,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1727984844, "lastModified": 1729242555,
"narHash": "sha256-xpRqITAoD8rHlXQafYZOLvUXCF6cnZkPfoq67ThN0Hc=", "narHash": "sha256-6jWSWxv2crIXmYSEb3LEVsFkCkyVHNllk61X4uhqfCs=",
"owner": "numtide", "owner": "numtide",
"repo": "treefmt-nix", "repo": "treefmt-nix",
"rev": "4446c7a6fc0775df028c5a3f6727945ba8400e64", "rev": "d986489c1c757f6921a48c1439f19bfb9b8ecab5",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -37,13 +37,6 @@
inputs.pre-commit-hooks-nix.follows = "pre-commit-hooks-nix"; inputs.pre-commit-hooks-nix.follows = "pre-commit-hooks-nix";
inputs.rust-overlay.follows = "rust-overlay"; inputs.rust-overlay.follows = "rust-overlay";
}; };
neovim = {
url = "git+https://git.ny4.dev/nyancat/nvim";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.treefmt-nix.follows = "treefmt-nix";
inputs.systems.follows = "systems";
};
nixos-hardware = { nixos-hardware = {
url = "github:NixOS/nixos-hardware"; url = "github:NixOS/nixos-hardware";
}; };
@ -63,6 +56,19 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
### Resources used for auto update
neovim = {
url = "git+https://git.ny4.dev/nyancat/nvim";
flake = false;
};
ip-checker = {
url = "git+https://git.ny4.dev/nyancat/ip-checker";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.systems.follows = "systems";
inputs.treefmt-nix.follows = "treefmt-nix";
};
### De-dupe flake dependencies ### De-dupe flake dependencies
crane = { crane = {
url = "github:ipetkov/crane"; url = "github:ipetkov/crane";

View file

@ -1,7 +1,7 @@
{ {
programs.eza = { programs.eza = {
enable = true; enable = true;
icons = true; icons = "auto";
}; };
home.shellAliases = { home.shellAliases = {

View file

@ -1,9 +1,4 @@
{ { config, pkgs, ... }:
config,
lib,
pkgs,
...
}:
{ {
programs.gpg = { programs.gpg = {
enable = true; enable = true;
@ -11,7 +6,7 @@
}; };
services.gpg-agent = { services.gpg-agent = {
enable = lib.mkIf pkgs.stdenv.hostPlatform.isLinux true; enable = pkgs.stdenv.hostPlatform.isLinux;
pinentryPackage = pkgs.pinentry-gnome3; pinentryPackage = pkgs.pinentry-gnome3;
}; };
} }

View file

@ -17,8 +17,8 @@
allowUnfreePredicate = pkg: lib.elem (lib.getName pkg) [ ]; allowUnfreePredicate = pkg: lib.elem (lib.getName pkg) [ ];
permittedInsecurePackages = [ permittedInsecurePackages = [
"cinny-4.2.1" "cinny-4.2.2"
"cinny-unwrapped-4.2.1" "cinny-unwrapped-4.2.2"
]; ];
}; };
} }

View file

@ -27,6 +27,7 @@
"osu-lazer-bin" "osu-lazer-bin"
"steam" "steam"
"steam-original" "steam-original"
"steam-unwrapped"
"steam-run" "steam-run"
]; ];
}; };

View file

@ -253,6 +253,7 @@
external_controller = "127.0.0.1:9090"; external_controller = "127.0.0.1:9090";
external_ui = pkgs.metacubexd; external_ui = pkgs.metacubexd;
secret = "hunter2"; secret = "hunter2";
# https://www.v2ex.com/t/1076579
access_control_allow_origin = [ "http://${external_controller}" ]; access_control_allow_origin = [ "http://${external_controller}" ];
}; };
}; };

View file

@ -22,20 +22,6 @@ _final: prev: {
''; '';
}; };
# https://www.v2ex.com/t/1076579
sing-box = prev.sing-box.overrideAttrs rec {
version = "1.10.0-beta.11";
src = prev.fetchFromGitHub {
owner = "SagerNet";
repo = "sing-box";
rev = "v${version}";
hash = "sha256-hxOQdrNQB/3KbI1ULDLPfMzFB1JmZb49iPEOtGzWajY=";
};
vendorHash = "sha256-rsgrcVkIMUIobuGFBlDDQM05sljZXShsa1+10xxzmlA=";
};
qt6Packages = prev.qt6Packages.overrideScope ( qt6Packages = prev.qt6Packages.overrideScope (
_final': prev': { _final': prev': {
# HACK: no more qt5 # HACK: no more qt5