change laptop name to lappy, add git config by default, etc.
This commit is contained in:
parent
5e6964641a
commit
9c80385542
8
home/base/git.nix
Normal file
8
home/base/git.nix
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
{ pkgs, ... }: {
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.gitAndTools.gitFull;
|
||||||
|
userName = "ChaotiCryptidz";
|
||||||
|
userEmail = "chaoticryptidz@owo.monster";
|
||||||
|
};
|
||||||
|
}
|
|
@ -1,6 +1,4 @@
|
||||||
{ config, ... }: {
|
{ config, ... }: {
|
||||||
xsession.preferStatusNotifierItems = true;
|
xsession.preferStatusNotifierItems = true;
|
||||||
services = {
|
services = { network-manager-applet.enable = true; };
|
||||||
network-manager-applet.enable = true;
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
WLR_DRM_DEVICES = "/dev/dri/card0";
|
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 = ''
|
programs.zsh.profileExtra = ''
|
||||||
# If running from tty1 start sway
|
# If running from tty1 start sway
|
||||||
|
|
|
@ -9,11 +9,11 @@
|
||||||
inherit inputs;
|
inherit inputs;
|
||||||
};
|
};
|
||||||
in {
|
in {
|
||||||
nixos = nixpkgs.lib.nixosSystem {
|
lappy = nixpkgs.lib.nixosSystem {
|
||||||
specialArgs = defaultSpecialArgs;
|
specialArgs = defaultSpecialArgs;
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
modules = defaultModules ++ [
|
modules = defaultModules ++ [
|
||||||
./nixos.nix
|
./lappy.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -27,7 +27,7 @@
|
||||||
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
hardware.enableRedistributableFirmware = true;
|
hardware.enableRedistributableFirmware = true;
|
||||||
|
|
||||||
networking.hostName = "nixos";
|
networking.hostName = "lappy";
|
||||||
services.localtime.enable = true;
|
services.localtime.enable = true;
|
||||||
time.timeZone = "Europe/London";
|
time.timeZone = "Europe/London";
|
||||||
|
|
|
@ -5,8 +5,9 @@
|
||||||
src = fetchFromGitLab {
|
src = fetchFromGitLab {
|
||||||
owner = "ChaotiCryptidz";
|
owner = "ChaotiCryptidz";
|
||||||
repo = "zar";
|
repo = "zar";
|
||||||
rev = "9f78c26bb68c59b56d04f6eba464e58221389dc0";
|
rev = "719ea5667d889245f842aa02f9046263f08052f0";
|
||||||
sha256 = "sha256-lv49+te8cPMjrqwL88gGlIRUgEaol4jjyeFBOr8ouS4=";
|
sha256 = "sha256-Z2mjyJTsc7B9tIkufrFAfA4rp0cCON3G2mPGrfrh3HA=";
|
||||||
|
#sha256 = lib.fakeSha256;
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -1 +1,10 @@
|
||||||
{ ... }: { }
|
{ pkgs, ... }: {
|
||||||
|
environment.systemPackages = with pkgs; [
|
||||||
|
git
|
||||||
|
nano
|
||||||
|
curl
|
||||||
|
wget
|
||||||
|
jq
|
||||||
|
ripgrep
|
||||||
|
];
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in a new issue