enable git diff in git commit
remove old garbage
This commit is contained in:
parent
b28f88c5e6
commit
97d2dc1169
3 changed files with 3 additions and 38 deletions
|
@ -1,14 +1,7 @@
|
||||||
{ pkgs, config, ... }:
|
{ 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
|
|
||||||
{
|
|
||||||
imports =
|
imports =
|
||||||
[
|
[
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
(import "${home-manager}/nixos")
|
|
||||||
];
|
];
|
||||||
|
|
||||||
boot = {
|
boot = {
|
||||||
|
@ -58,7 +51,7 @@ in
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
system.stateVersion = stateVersion;
|
system.stateVersion = "23.05";
|
||||||
|
|
||||||
programs.ssh.knownHosts = {
|
programs.ssh.knownHosts = {
|
||||||
dmz = {
|
dmz = {
|
||||||
|
|
|
@ -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
|
|
||||||
};
|
|
||||||
};
|
|
||||||
}
|
|
|
@ -6,6 +6,7 @@
|
||||||
userEmail = "pim@kunis.nl";
|
userEmail = "pim@kunis.nl";
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
push.autoSetupRemote = true;
|
push.autoSetupRemote = true;
|
||||||
|
commit.verbose = true;
|
||||||
};
|
};
|
||||||
includes = [{
|
includes = [{
|
||||||
path = "~/git/suecode/.gitconfig";
|
path = "~/git/suecode/.gitconfig";
|
||||||
|
|
Loading…
Reference in a new issue