Manage git in home manager - wip

This commit is contained in:
Cyryl Płotnicki 2019-08-04 20:13:54 +01:00
parent dd77a044a1
commit 551114c780
6 changed files with 20 additions and 4 deletions

View file

@ -37,6 +37,13 @@
clickMethod = "clickfinger";
};
useGlamor = true;
deviceSection = ''
Option "TearFree" "true"
Option "AccelMethod" "sna"
'';
displayManager.sddm = {
enable = true;
enableHidpi = true;

View file

@ -35,9 +35,6 @@ in
users.users.cyryl = {
isNormalUser = true;
extraGroups = [ "wheel" "networkmanager" "video" "scanner" "lp" "docker" "vboxusers" "adbusers" ];
packages = with pkgs; [
unstable.pypi2nix etesync-dav unstable.hopper
];
shell = pkgs.zsh;
};

View file

@ -5,6 +5,7 @@
hardware.opengl = {
enable = true;
driSupport = true;
s3tcSupport = true;
extraPackages = with pkgs; [
vaapiIntel
vaapiVdpau

View file

@ -37,6 +37,7 @@ in
./programs/zsh.nix
./programs/vim.nix
./programs/alacritty.nix
./programs/git.nix
./user-xsession.nix
];

11
nixos/programs/git.nix Normal file
View file

@ -0,0 +1,11 @@
{ config, pkgs, lib, ... }:
{
programs.git = {
enable = true;
userName = "Cyryl Płotnicki";
userEmail = "cyplo@cyplo.net";
includes = [
{ path = "../.gitconfig.linux.private"; }
];
};
}

View file

@ -17,7 +17,6 @@ echo "using $DIR as the top level directory"
cd $DIR
git submodule update --init --recursive
ln -vfs "$DIR/.gitconfig.linux.private" ~/.gitconfig
mkdir -p ~/.config/Code/User
ln -vfs "$DIR/.config/Code/User/settings.json" ~/.config/Code/User/settings.json