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";
|
clickMethod = "clickfinger";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
useGlamor = true;
|
||||||
|
|
||||||
|
deviceSection = ''
|
||||||
|
Option "TearFree" "true"
|
||||||
|
Option "AccelMethod" "sna"
|
||||||
|
'';
|
||||||
|
|
||||||
displayManager.sddm = {
|
displayManager.sddm = {
|
||||||
enable = true;
|
enable = true;
|
||||||
enableHidpi = true;
|
enableHidpi = true;
|
||||||
|
|
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
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
|
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
|
||||||
|
|
Loading…
Reference in a new issue