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, ... }:
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 = {
enable = true;
user = "cyryl";
@ -17,4 +7,4 @@ in
openDefaultPorts = true;
package = pkgs.unstable.syncthing;
};
}
}

View file

@ -1,19 +1,9 @@
{ 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 = {
enable = true;
enableExtensionPack = true;
enableHardening = true;
package = pkgs.virtualbox.override { enable32bitGuests = false; };
};
}
}

View file

@ -1,18 +1,5 @@
{ 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 = {
packages = with pkgs; [
(unstable.vscode-with-extensions.override {