Manage git in home manager - wip
This commit is contained in:
parent
dd77a044a1
commit
551114c780
6 changed files with 20 additions and 4 deletions
|
@ -37,6 +37,13 @@
|
|||
clickMethod = "clickfinger";
|
||||
};
|
||||
|
||||
useGlamor = true;
|
||||
|
||||
deviceSection = ''
|
||||
Option "TearFree" "true"
|
||||
Option "AccelMethod" "sna"
|
||||
'';
|
||||
|
||||
displayManager.sddm = {
|
||||
enable = true;
|
||||
enableHidpi = true;
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@
|
|||
hardware.opengl = {
|
||||
enable = true;
|
||||
driSupport = true;
|
||||
s3tcSupport = true;
|
||||
extraPackages = with pkgs; [
|
||||
vaapiIntel
|
||||
vaapiVdpau
|
||||
|
|
|
@ -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
11
nixos/programs/git.nix
Normal 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"; }
|
||||
];
|
||||
};
|
||||
}
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue