Add gnome shell extensions

This commit is contained in:
Cyryl Płotnicki 2019-03-26 12:32:59 +00:00
parent d90a57d6a7
commit 7506a1df0c
2 changed files with 31 additions and 15 deletions

View file

@ -42,5 +42,6 @@ Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes' Plug 'vim-airline/vim-airline-themes'
Plug 'will133/vim-dirdiff' Plug 'will133/vim-dirdiff'
Plug 'Xuyuanp/nerdtree-git-plugin' Plug 'Xuyuanp/nerdtree-git-plugin'
Plug 'LnL7/vim-nix'
call plug#end() call plug#end()

View file

@ -1,11 +1,24 @@
{ config, pkgs, ... }: { config, pkgs, ... }:
let
unstableTarball =
fetchTarball
https://github.com/NixOS/nixpkgs-channels/archive/nixos-unstable.tar.gz;
in
{ {
imports = imports =
[ [
/etc/nixos/hardware-configuration.nix /etc/nixos/hardware-configuration.nix
]; ];
nixpkgs.config = {
packageOverrides = pkgs: {
unstable = import unstableTarball {
config = config.nixpkgs.config;
};
};
};
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wget vim git zsh gnupg curl tmux wget vim git zsh gnupg curl tmux
]; ];
@ -16,12 +29,14 @@
isNormalUser = true; isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" ]; extraGroups = [ "wheel" "networkmanager" ];
packages = with pkgs; [ packages = with pkgs; [
firefox terminator zsh keepass fontconfig go nodejs rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy firefox chromium terminator zsh keepass fontconfig go nodejs rustup gcc gdb binutils xclip pkgconfig veracrypt gitAndTools.diff-so-fancy gnome3.gnome-shell-extensions chrome-gnome-shell gnomeExtensions.clipboard-indicator gnomeExtensions.caffeine gnomeExtensions.no-title-bar unstable.gnomeExtensions.gsconnect
]; ];
uid = 1000; uid = 1000;
shell = pkgs.zsh; shell = pkgs.zsh;
}; };
services.gnome3.chrome-gnome-shell.enable = true;
services.syncthing = { services.syncthing = {
enable = true; enable = true;
user = "cyryl"; user = "cyryl";
@ -36,8 +51,7 @@
desktopManager = { desktopManager = {
gnome3.enable = true; gnome3.enable = true;
default="gnome3"; xterm.enable = false;
xterm.enable=false;
}; };
displayManager.gdm.enable = true; displayManager.gdm.enable = true;
}; };
@ -65,3 +79,4 @@
system.stateVersion = "18.09"; system.stateVersion = "18.09";
} }