Files
nixos-config/nixos-configurations/pc/default.nix
2023-06-03 09:29:28 +02:00

62 lines
1.1 KiB
Nix

{ config, pkgs, ... }:
{
imports = [
./hardware-configuration.nix
../shared.nix
];
networking.hostName = "pc";
hardware.opengl.enable = true;
security.polkit.enable = true;
# Make swaylock work
security.pam.services.swaylock = {
text = ''
auth include login
'';
};
home-manager.users.thiloho = { pkgs, ... }: {
wayland.windowManager.sway = {
enable = true;
config = {
modifier = "Mod1";
terminal = "alacritty";
menu = "bemenu-run";
output = {
DP-1 = {
res = "1920x1080@144.000Hz";
};
DP-2 = {
res = "1920x1080@144.000Hz";
};
};
};
xwayland = false;
};
gtk = {
enable = true;
theme = {
package = pkgs.gnome.gnome-themes-extra;
name = "Adwaita-dark";
};
};
programs = {
git = {
signing = {
key = "29791D54E85BEE9E";
};
};
swaylock.enable = true;
};
home.packages = with pkgs; [
dconf
bemenu
];
};
}