Very basic flake setup
This commit is contained in:
parent
fdcf413707
commit
ec48f357df
2 changed files with 22 additions and 19 deletions
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, inputs, ... }:
|
{ config, pkgs, unstable, ... }:
|
||||||
|
|
||||||
# let
|
# let
|
||||||
# berkeley-mono-typeface = pkgs.callPackage ./packages/berkeley-mono-typeface.nix;
|
# berkeley-mono-typeface = pkgs.callPackage ./packages/berkeley-mono-typeface.nix;
|
||||||
|
@ -158,11 +158,12 @@
|
||||||
programs.noisetorch.enable = true;
|
programs.noisetorch.enable = true;
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
nixpkgs.config.allowUnfree = true;
|
# nixpkgs.config.allowUnfree = true;
|
||||||
|
# unstable.config.allowUnfree = true;
|
||||||
|
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
# $ nix search wget
|
# $ nix search wget
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; with unstable; [
|
||||||
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
# vim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
# wget
|
# wget
|
||||||
fzf
|
fzf
|
||||||
|
@ -176,10 +177,10 @@
|
||||||
amdgpu_top
|
amdgpu_top
|
||||||
mangohud
|
mangohud
|
||||||
|
|
||||||
inputs.unstable.legacyPackages.${pkgs.system}.svt-av1-psy
|
unstable.svt-av1-psy
|
||||||
inputs.unstable.legacyPackages.${pkgs.system}.ffmpeg-full
|
unstable.ffmpeg-full
|
||||||
inputs.unstable.legacyPackages.${pkgs.system}.ab-av1
|
unstable.ab-av1
|
||||||
inputs.unstable.legacyPackages.${pkgs.system}.whisper-cpp-vulkan
|
unstable.whisper-cpp-vulkan
|
||||||
|
|
||||||
vscode.fhs # .fhs version will be more compatable even if slightly less nix flavoured
|
vscode.fhs # .fhs version will be more compatable even if slightly less nix flavoured
|
||||||
|
|
||||||
|
|
|
@ -11,21 +11,23 @@
|
||||||
|
|
||||||
outputs =
|
outputs =
|
||||||
{ nixpkgs, unstable, ... }@inputs:
|
{ nixpkgs, unstable, ... }@inputs:
|
||||||
# let
|
let
|
||||||
# system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
# pkgs = import nixpkgs {
|
|
||||||
# inherit system;
|
in
|
||||||
# config.allowUnfree = true;
|
|
||||||
# };
|
|
||||||
# unstable = import nixpkgs-unstable {
|
|
||||||
# inherit system;
|
|
||||||
# config.allowUnfree = true;
|
|
||||||
# };
|
|
||||||
# in
|
|
||||||
{
|
{
|
||||||
|
|
||||||
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
nixosConfigurations.nixos = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = { inherit inputs; };
|
specialArgs = {
|
||||||
|
pkgs = import nixpkgs {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
unstable = import unstable {
|
||||||
|
inherit system;
|
||||||
|
config.allowUnfree = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
modules = [
|
modules = [
|
||||||
./configuration.nix
|
./configuration.nix
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue