mirror of
https://github.com/thiloho/nixos-config.git
synced 2025-11-22 03:21:35 +01:00
51 lines
918 B
Nix
51 lines
918 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../shared.nix
|
|
];
|
|
|
|
networking.hostName = "pc";
|
|
|
|
hardware.opengl.enable = true;
|
|
|
|
security.polkit.enable = true;
|
|
|
|
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";
|
|
};
|
|
};
|
|
home.packages = with pkgs; [
|
|
bemenu
|
|
];
|
|
};
|
|
}
|
|
|