enable git diff in git commit

remove old garbage
This commit is contained in:
Pim Kunis 2023-10-18 21:06:38 +02:00
parent b28f88c5e6
commit 97d2dc1169
3 changed files with 3 additions and 38 deletions

View file

@ -1,14 +1,7 @@
{ pkgs, config, ... }:
let
stateVersion = "23.05";
home-manager = builtins.fetchTarball {url = "https://github.com/nix-community/home-manager/archive/release-${stateVersion}.tar.gz"; sha256 = "0rwzab51hnr6cmm1w5zmfh29gbkg6byv8jnr7frcv5kd6m8kna41"; };
in
{
{ pkgs, config, ... }: {
imports =
[
./hardware-configuration.nix
(import "${home-manager}/nixos")
];
boot = {
@ -58,7 +51,7 @@ in
];
};
system.stateVersion = stateVersion;
system.stateVersion = "23.05";
programs.ssh.knownHosts = {
dmz = {

View file

@ -1,29 +0,0 @@
{
description = "Home Manager configuration of pim";
inputs = {
# Specify the source of Home Manager and Nixpkgs.
nixpkgs.url = "github:nixos/nixpkgs/nixos-23.05";
home-manager = {
url = "github:nix-community/home-manager/release-23.05";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { nixpkgs, home-manager, ... }:
let
system = "x86_64-linux";
pkgs = nixpkgs.legacyPackages.${system};
in {
homeConfigurations."pim" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [ ./home.nix ];
# Optionally use extraSpecialArgs
# to pass through arguments to home.nix
};
};
}

View file

@ -6,6 +6,7 @@
userEmail = "pim@kunis.nl";
extraConfig = {
push.autoSetupRemote = true;
commit.verbose = true;
};
includes = [{
path = "~/git/suecode/.gitconfig";