remove redundant channel declarations

This commit is contained in:
Cyryl Płotnicki 2019-11-12 22:47:38 +00:00
parent e786581680
commit b45be99cfe
3 changed files with 158 additions and 191 deletions

View file

@ -1,15 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
in
{ {
nixpkgs.config = {
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
services.syncthing = { services.syncthing = {
enable = true; enable = true;
user = "cyryl"; user = "cyryl";

View file

@ -1,15 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
in
{ {
nixpkgs.config = {
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
virtualisation.virtualbox.host = { virtualisation.virtualbox.host = {
enable = true; enable = true;
enableExtensionPack = true; enableExtensionPack = true;

View file

@ -1,18 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
in
{ {
nixpkgs.config = {
allowUnfree = true;
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
users.users.cyryl = { users.users.cyryl = {
packages = with pkgs; [ packages = with pkgs; [
(unstable.vscode-with-extensions.override { (unstable.vscode-with-extensions.override {