Move necessary env variable to laptop only

This commit is contained in:
thiloho
2023-06-03 05:42:48 +02:00
parent bee7c8ef3a
commit 881d16746f
3 changed files with 55 additions and 57 deletions

View File

@@ -1,34 +1,33 @@
{ config, pkgs, ... }:
{
imports =
[
./hardware-configuration.nix
../shared.nix
];
imports = [
./hardware-configuration.nix
../shared.nix
];
networking.hostName = "pc";
networking.hostName = "pc";
services.xserver = {
services.xserver = {
enable = true;
displayManager.gdm.enable = true;
};
programs.sway.enable = true;
home-manager.users.thiloho = { pkgs, ... }: {
wayland.windowManager.sway = {
enable = true;
displayManager.gdm.enable = true;
};
programs.sway.enable = true;
home-manager.users.thiloho = { pkgs, ... }: {
wayland.windowManager.sway = {
enable = true;
config = {
modifier = "Mod1";
terminal = "alacritty";
};
};
programs.git = {
signing = {
key = "29791D54E85BEE9E";
};
config = {
modifier = "Mod1";
terminal = "alacritty";
};
};
programs.git = {
signing = {
key = "29791D54E85BEE9E";
};
};
};
}