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"; clickMethod = "clickfinger";
}; };
useGlamor = true;
deviceSection = ''
Option "TearFree" "true"
Option "AccelMethod" "sna"
'';
displayManager.sddm = { displayManager.sddm = {
enable = true; enable = true;
enableHidpi = true; enableHidpi = true;

View file

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

View file

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

View file

@ -37,6 +37,7 @@ in
./programs/zsh.nix ./programs/zsh.nix
./programs/vim.nix ./programs/vim.nix
./programs/alacritty.nix ./programs/alacritty.nix
./programs/git.nix
./user-xsession.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 cd $DIR
git submodule update --init --recursive git submodule update --init --recursive
ln -vfs "$DIR/.gitconfig.linux.private" ~/.gitconfig
mkdir -p ~/.config/Code/User mkdir -p ~/.config/Code/User
ln -vfs "$DIR/.config/Code/User/settings.json" ~/.config/Code/User/settings.json ln -vfs "$DIR/.config/Code/User/settings.json" ~/.config/Code/User/settings.json