mirror of
https://github.com/nickolaj-jepsen/nixos.git
synced 2026-01-22 08:06:50 +01:00
chore: update to laptop configuration
This commit is contained in:
parent
34958ee8e4
commit
b38cfaa945
5 changed files with 27 additions and 0 deletions
|
|
@ -4,6 +4,10 @@
|
|||
enable = true;
|
||||
};
|
||||
|
||||
networking.networkmanager.enable = true;
|
||||
users.users.nickolaj.extraGroups = [ "networkmanager" ];
|
||||
programs.nm-applet.enable = true;
|
||||
|
||||
# Load nvidia driver for Xorg and Wayland
|
||||
services.xserver.videoDrivers = ["nvidia"];
|
||||
|
||||
|
|
|
|||
7
hosts/laptop/monitors.nix
Normal file
7
hosts/laptop/monitors.nix
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
_: {
|
||||
monitors = [
|
||||
{
|
||||
name = "eDP-1";
|
||||
}
|
||||
];
|
||||
}
|
||||
10
hosts/laptop/ssh.nix
Normal file
10
hosts/laptop/ssh.nix
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{lib, ...}: {
|
||||
fireproof.home-manager.programs.ssh.matchBlocks = {
|
||||
"dev.ao" = {
|
||||
proxyJump = lib.mkForce "server";
|
||||
};
|
||||
"bastion.ao" = {
|
||||
proxyJump = lib.mkForce "server";
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue