migrate to stable

This commit is contained in:
Cyryl Płotnicki 2019-12-10 18:16:45 +00:00
parent f6f6c251b8
commit ffd78d53bf
7 changed files with 7 additions and 24 deletions

View file

@ -38,7 +38,7 @@
hardware.trackpoint.enable = true; hardware.trackpoint.enable = true;
services.fprintd = { services.fprintd = {
enable = true; enable = true;
package = pkgs.unstable.fprintd-thinkpad; package = pkgs.fprintd-thinkpad;
}; };
hardware.nvidiaOptimus.disable = true; hardware.nvidiaOptimus.disable = true;

View file

@ -3,7 +3,7 @@
services = { services = {
fwupd = { fwupd = {
enable = true; enable = true;
package = pkgs.unstable.fwupd; package = pkgs.fwupd;
}; };
tlp = { tlp = {

View file

@ -2,7 +2,6 @@
let let
unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz; unstableTarball = fetchTarball https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
etesync-dav = import ./packages/etesync-dav/default.nix;
in in
{ {
imports = imports =
@ -18,18 +17,10 @@ in
nixpkgs.config = { nixpkgs.config = {
allowUnfree = true; allowUnfree = true;
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
cyplo = import /home/cyryl/dev/nixpkgs {
config = config.nixpkgs.config;
};
};
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget git gnupg curl tmux python36Packages.glances htop atop firefox home-manager alacritty pciutils powertop linuxPackages_hardened.bcc ripgrep-all fd dnsutils wget git gnupg curl tmux python36Packages.glances htop atop firefox home-manager alacritty pciutils powertop ripgrep-all fd dnsutils
]; ];
i18n.defaultLocale = "en_GB.UTF-8"; i18n.defaultLocale = "en_GB.UTF-8";

View file

@ -2,12 +2,4 @@
{ {
networking.firewall.allowedTCPPortRanges = [ { from = 1716; to = 1764; } ]; networking.firewall.allowedTCPPortRanges = [ { from = 1716; to = 1764; } ];
networking.firewall.allowedUDPPortRanges = [ { from = 1716; to = 1764; } ]; networking.firewall.allowedUDPPortRanges = [ { from = 1716; to = 1764; } ];
environment.systemPackages = with pkgs; [
gnomeExtensions.gsconnect
(
vim_configurable.override {
python = python3;
}
)
];
} }

View file

@ -5,6 +5,6 @@
user = "cyryl"; user = "cyryl";
dataDir = "/home/cyryl/.syncthing"; dataDir = "/home/cyryl/.syncthing";
openDefaultPorts = true; openDefaultPorts = true;
package = pkgs.unstable.syncthing; package = pkgs.syncthing;
}; };
} }

View file

@ -10,7 +10,7 @@
endif endif
''; '';
vam.knownPlugins = unstable.vimPlugins; vam.knownPlugins = vimPlugins;
vam.pluginDictionaries = [ vam.pluginDictionaries = [
{ names = [ { names = [
"ack-vim" "ack-vim"

View file

@ -2,7 +2,7 @@
{ {
users.users.cyryl = { users.users.cyryl = {
packages = with pkgs; [ packages = with pkgs; [
(unstable.vscode-with-extensions.override { (vscode-with-extensions.override {
vscodeExtensions = with vscode-extensions; [ bbenoist.Nix ] vscodeExtensions = with vscode-extensions; [ bbenoist.Nix ]
++ vscode-utils.extensionsFromVscodeMarketplace [ ++ vscode-utils.extensionsFromVscodeMarketplace [
{ {