Trying to figure out unstable packages

This commit is contained in:
BuyMyMojo 2025-03-25 02:18:44 +11:00
parent f26253278b
commit fdcf413707
Signed by untrusted user who does not match committer: aria
GPG key ID: 19AB7AA462B8AB3B
3 changed files with 105 additions and 12 deletions

View file

@ -2,19 +2,12 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ config, pkgs, inputs, ... }:
# let
# berkeley-mono-typeface = pkgs.callPackage ./packages/berkeley-mono-typeface.nix;
# in
let
unstable = import <nixos-unstable> {
config = {
allowUnfree = true;
};
};
in
{
nix.settings.experimental-features = [
"nix-command"
@ -183,10 +176,10 @@ in
amdgpu_top
mangohud
unstable.svt-av1-psy
unstable.ffmpeg-full
unstable.ab-av1
unstable.whisper-cpp-vulkan
inputs.unstable.legacyPackages.${pkgs.system}.svt-av1-psy
inputs.unstable.legacyPackages.${pkgs.system}.ffmpeg-full
inputs.unstable.legacyPackages.${pkgs.system}.ab-av1
inputs.unstable.legacyPackages.${pkgs.system}.whisper-cpp-vulkan
vscode.fhs # .fhs version will be more compatable even if slightly less nix flavoured

65
nixos/flake.lock generated Normal file
View file

@ -0,0 +1,65 @@
{
"nodes": {
"home-manger": {
"inputs": {
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1742825959,
"narHash": "sha256-wgnQZMrLLQJlZ+htTXzoQtoz9EzL15Z2crH3+OnRmMk=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "908e055e157a0b35466faf4125d7e7410ff56160",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"nixpkgs": {
"locked": {
"lastModified": 1742751704,
"narHash": "sha256-rBfc+H1dDBUQ2mgVITMGBPI1PGuCznf9rcWX/XIULyE=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "f0946fa5f1fb876a9dc2e1850d9d3a4e3f914092",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-24.11",
"repo": "nixpkgs",
"type": "github"
}
},
"root": {
"inputs": {
"home-manger": "home-manger",
"nixpkgs": "nixpkgs",
"unstable": "unstable"
}
},
"unstable": {
"locked": {
"lastModified": 1742669843,
"narHash": "sha256-G5n+FOXLXcRx+3hCJ6Rt6ZQyF1zqQ0DL0sWAMn2Nk0w=",
"owner": "nixos",
"repo": "nixpkgs",
"rev": "1e5b653dff12029333a6546c11e108ede13052eb",
"type": "github"
},
"original": {
"owner": "nixos",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
}
},
"root": "root",
"version": 7
}

35
nixos/flake.nix Normal file
View file

@ -0,0 +1,35 @@
{
description = "Aria's system flake";
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-24.11";
unstable.url = "github:nixos/nixpkgs?ref=nixos-unstable";
home-manger.url = "github:nix-community/home-manager";
home-manger.inputs.nixpkgs.follows = "nixpkgs";
};
outputs =
{ nixpkgs, unstable, ... }@inputs:
# let
# system = "x86_64-linux";
# pkgs = import nixpkgs {
# inherit system;
# config.allowUnfree = true;
# };
# unstable = import nixpkgs-unstable {
# inherit system;
# config.allowUnfree = true;
# };
# in
{
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs; };
modules = [
./configuration.nix
];
};
};
}