Compare commits
2 Commits
633e8468b0
...
f891711997
Author | SHA1 | Date |
---|---|---|
Pratham Patel | f891711997 | |
Pratham Patel | 965a694003 |
10
flake.lock
10
flake.lock
|
@ -57,12 +57,12 @@
|
|||
},
|
||||
"nixpkgs": {
|
||||
"locked": {
|
||||
"lastModified": 1709884566,
|
||||
"narHash": "sha256-NSYJg2sfdO/XS3L8XN/59Zhzn0dqWm7XtVnKI2mHq3w=",
|
||||
"rev": "2be119add7b37dc535da2dd4cba68e2cf8d1517e",
|
||||
"revCount": 556557,
|
||||
"lastModified": 1710021367,
|
||||
"narHash": "sha256-FuMVdWqXMT38u1lcySYyv93A7B8wU0EGzUr4t4jQu8g=",
|
||||
"rev": "b94a96839afcc56de3551aa7472b8d9a3e77e05d",
|
||||
"revCount": 556575,
|
||||
"type": "tarball",
|
||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2311.556557%2Brev-2be119add7b37dc535da2dd4cba68e2cf8d1517e/018e2117-9198-79f3-9df4-4997fc00989b/source.tar.gz"
|
||||
"url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2311.556575%2Brev-b94a96839afcc56de3551aa7472b8d9a3e77e05d/018e275e-a070-780b-ba43-d86b528adee8/source.tar.gz"
|
||||
},
|
||||
"original": {
|
||||
"type": "tarball",
|
||||
|
|
4
iso.nix
4
iso.nix
|
@ -1,8 +1,8 @@
|
|||
{ lib, pkgs, config, home-manager, ... }:
|
||||
|
||||
let
|
||||
NixOSMajor = builtins.elemAt (lib.versions.splitVersion lib.version) 0;
|
||||
NixOSMinor = builtins.elemAt (lib.versions.splitVersion lib.version) 1;
|
||||
NixOSMajor = lib.versions.major lib.version;
|
||||
NixOSMinor = lib.versions.minor lib.version;
|
||||
NixOSRelease = "${NixOSMajor}.${NixOSMinor}";
|
||||
in
|
||||
|
||||
|
|
Loading…
Reference in New Issue