updated config

This commit is contained in:
Jakub Kropáček 2024-09-19 17:14:01 +02:00
parent 680c919def
commit a75b303a94
3 changed files with 36 additions and 8 deletions

View file

@ -49,6 +49,7 @@
# Enable the GNOME Desktop Environment. # Enable the GNOME Desktop Environment.
services.xserver.displayManager.gdm.enable = true; services.xserver.displayManager.gdm.enable = true;
services.xserver.desktopManager.gnome.enable = true; services.xserver.desktopManager.gnome.enable = true;
services.gnome.gnome-browser-connector.enable = true;
environment.gnome.excludePackages = with pkgs; [ environment.gnome.excludePackages = with pkgs; [
epiphany epiphany
@ -121,6 +122,9 @@
gh gh
gparted gparted
dig dig
prismlauncher # REMOVE AND MOVE TO games module after refactoring
gnome-extension-manager # DEBUG
gnomeExtensions.grand-theft-focus
]; ];
@ -166,7 +170,10 @@
# Enable the OpenSSH daemon. # Enable the OpenSSH daemon.
# services.openssh.enable = true; # services.openssh.enable = true;
networking = {
nftables.enable = true;
firewall.checkReversePath = "loose";
};
# Open ports in the firewall. # Open ports in the firewall.
# networking.firewall.allowedTCPPorts = [ ... ]; # networking.firewall.allowedTCPPorts = [ ... ];
# networking.firewall.allowedUDPPorts = [ ... ]; # networking.firewall.allowedUDPPorts = [ ... ];

View file

@ -16,6 +16,7 @@
# The home.packages option allows you to install Nix packages into your # The home.packages option allows you to install Nix packages into your
# environment. # environment.
home.packages = with pkgs; [ home.packages = with pkgs; [
gnomeExtensions.grand-theft-focus
# # Adds the 'hello' command to your environment. It prints a friendly # # Adds the 'hello' command to your environment. It prints a friendly
# # "Hello, world!" when run. # # "Hello, world!" when run.
# hello # hello
@ -69,6 +70,16 @@
# EDITOR = "emacs"; # EDITOR = "emacs";
}; };
dconf = {
enable = true;
settings."org/gnome/shell" = {
disable-user-extensions = false;
enabled-extensions = with pkgs.gnomeExtensions; [
grand-theft-focus.extensionUuid
];
};
};
gtk = { gtk = {
enable = true; enable = true;
gtk3.extraConfig = { gtk3.extraConfig = {
@ -85,7 +96,7 @@
qt = { qt = {
enable = true; enable = true;
platformTheme.name = "adwaita"; platformTheme.name = "adwaita"; # TODO: fix themes
style.name = "adwaita-dark"; style.name = "adwaita-dark";
}; };
@ -94,9 +105,20 @@
enable = true; enable = true;
userName = "Jakub Kropáček"; userName = "Jakub Kropáček";
userEmail = "kropikuba@gmail.com"; userEmail = "kropikuba@gmail.com";
includes = [ includes = let workcfg = {
{path = "~/Repositories/OLC/.gitconfig"; condition = "gitdir:~/Repositories/OLC/**";} user = {
{path = "~/Repositories/OLC-Hexpol/.gitconfig"; condition = "gitdir:~/Repositories/OLC-Hexpol/**";} email = "jakub.kropacek@olc.cz";
name = "Jakub Kropáček";
};
}; in [
{
condition = "gitdir:~/Repositories/OLC/**";
contents = workcfg;
}
{
condition = "gitdir:~/Repositories/OLC-Hexpol/**";
contents = workcfg;
}
]; ];
extraConfig = { extraConfig = {
init = { init = {

View file

@ -20,7 +20,6 @@ in {
ides = with pkgs; [ ides = with pkgs; [
jetbrains.pycharm-professional jetbrains.pycharm-professional
zed-editor zed-editor
vscode
vscodium vscodium
]; ];
languages = with pkgs; [ languages = with pkgs; [