mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 11:31:36 +01:00
42 lines
715 B
Nix
42 lines
715 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../shared.nix
|
|
];
|
|
|
|
networking.hostName = "pc";
|
|
|
|
services.xserver = {
|
|
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";
|
|
output = {
|
|
DP-1 = {
|
|
res = "1920x1080@144.000Hz";
|
|
};
|
|
DP-2 = {
|
|
res = "1920x1080@144.000Hz";
|
|
};
|
|
};
|
|
};
|
|
};
|
|
programs.git = {
|
|
signing = {
|
|
key = "29791D54E85BEE9E";
|
|
};
|
|
};
|
|
};
|
|
}
|
|
|