change laptop name to lappy, add git config by default, etc.

This commit is contained in:
ChaotiCryptidz 2021-12-21 13:29:59 +00:00
parent 5e6964641a
commit 9c80385542
7 changed files with 26 additions and 10 deletions

8
home/base/git.nix Normal file
View file

@ -0,0 +1,8 @@
{ pkgs, ... }: {
programs.git = {
enable = true;
package = pkgs.gitAndTools.gitFull;
userName = "ChaotiCryptidz";
userEmail = "chaoticryptidz@owo.monster";
};
}

View file

@ -1,6 +1,4 @@
{ config, ... }: {
xsession.preferStatusNotifierItems = true;
services = {
network-manager-applet.enable = true;
};
services = { network-manager-applet.enable = true; };
}

View file

@ -5,7 +5,7 @@
WLR_DRM_DEVICES = "/dev/dri/card0";
};
home.packages = with pkgs; [ grim slurp wl-clipboard jq wofi wmctrl zar ];
home.packages = with pkgs; [ grim slurp wl-clipboard jq wofi wmctrl ];
programs.zsh.profileExtra = ''
# If running from tty1 start sway

View file

@ -9,11 +9,11 @@
inherit inputs;
};
in {
nixos = nixpkgs.lib.nixosSystem {
lappy = nixpkgs.lib.nixosSystem {
specialArgs = defaultSpecialArgs;
system = "x86_64-linux";
modules = defaultModules ++ [
./nixos.nix
./lappy.nix
];
};
}

View file

@ -27,7 +27,7 @@
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
hardware.enableRedistributableFirmware = true;
networking.hostName = "nixos";
networking.hostName = "lappy";
services.localtime.enable = true;
time.timeZone = "Europe/London";

View file

@ -5,8 +5,9 @@
src = fetchFromGitLab {
owner = "ChaotiCryptidz";
repo = "zar";
rev = "9f78c26bb68c59b56d04f6eba464e58221389dc0";
sha256 = "sha256-lv49+te8cPMjrqwL88gGlIRUgEaol4jjyeFBOr8ouS4=";
rev = "719ea5667d889245f842aa02f9046263f08052f0";
sha256 = "sha256-Z2mjyJTsc7B9tIkufrFAfA4rp0cCON3G2mPGrfrh3HA=";
#sha256 = lib.fakeSha256;
fetchSubmodules = true;
};

View file

@ -1 +1,10 @@
{ ... }: { }
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
git
nano
curl
wget
jq
ripgrep
];
}