mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2025-05-24 09:54:40 +02:00
machines/core: migrate allowUnfree to flake config
This commit is contained in:
parent
c82d8feee1
commit
57e8612d0d
2 changed files with 1 additions and 2 deletions
|
@ -27,6 +27,7 @@ let
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
({ pkgs, ... }: {
|
({ pkgs, ... }: {
|
||||||
|
nixpkgs.config.allowUnfree = true;
|
||||||
nixpkgs.overlays = [
|
nixpkgs.overlays = [
|
||||||
overlay-unstable
|
overlay-unstable
|
||||||
(import ../overlays)
|
(import ../overlays)
|
||||||
|
|
|
@ -19,7 +19,6 @@
|
||||||
|
|
||||||
extraOptions = ''
|
extraOptions = ''
|
||||||
experimental-features = nix-command flakes
|
experimental-features = nix-command flakes
|
||||||
warn-dirty = false
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
registry = {
|
registry = {
|
||||||
|
@ -27,7 +26,6 @@
|
||||||
unstable.flake = inputs.nixpkgs-unstable;
|
unstable.flake = inputs.nixpkgs-unstable;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
nixpkgs.config.allowUnfree = true;
|
|
||||||
|
|
||||||
# auto upgrade with own flakes
|
# auto upgrade with own flakes
|
||||||
system.autoUpgrade = {
|
system.autoUpgrade = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue