flakes: Migrate the config and miku to flakes

This commit is contained in:
PapaTutuWawa committed 2021-11-04 18:09:45 +01:00
1 parent 09d385806a
commit 1d8f2f8053
64 files changed
+2612 -1739

No files matched your search

-5
View File
@@ -1,5 +0,0 @@
pkgs: final: prev:
import ../packages {
pkgs = prev;
}
+2 -9
View File
@@ -3,21 +3,14 @@
, lib
}:
let
importWrapper = file: import file {
pkgs = pkgs;
lib = lib;
};
in {
{
emacs = import (builtins.fetchGit {
url = "https://github.com/nix-community/emacs-overlay.git";
ref = "master";
rev = "ce0e9482d53d69bedc8416d8a984d00e17607826";
});
nur = import ./nur.nix pkgs;
unstable = importWrapper ./unstable.nix;
stable = importWrapper ./stable.nix;
custom = import ./custom.nix pkgs;
custom = import ../packages;
simple = import ./simple.nix;
surface = import ./surface.nix pkgs;
}
-21
View File
@@ -1,21 +0,0 @@
# NOTE: pkgs is unused but there for consistency with nur.nix
{
lib, ...
}: final: prev:
let
stableTarball =
fetchTarball
https://github.com/NixOS/nixpkgs/archive/nixos-21.05.tar.gz;
in {
stable = import stableTarball {
# TODO
config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"firmwareLinuxNonfree" "microcodeAmd" "microcodeIntel"
"steam" "steam-original" "steam-runtime"
"discord"
];
};
};
}
-21
View File
@@ -1,21 +0,0 @@
# NOTE: pkgs is unused but there for consistency with nur.nix
{
lib, ...
}: final: prev:
let
unstableTarball =
fetchTarball
https://github.com/NixOS/nixpkgs/archive/nixos-unstable.tar.gz;
in {
unstable = import unstableTarball {
# TODO
config = {
allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"firmwareLinuxNonfree" "microcodeAmd" "microcodeIntel"
"steam" "steam-original" "steam-runtime"
"discord"
];
};
};
}