2023-10-21 08:52:00 +00:00
|
|
|
{ config, pkgs, ... }:
|
|
|
|
|
|
|
|
{
|
|
|
|
imports =
|
|
|
|
[];
|
|
|
|
|
|
|
|
home.username = "lukas";
|
|
|
|
home.homeDirectory = "/home/lukas";
|
|
|
|
home.stateVersion = "23.11";
|
|
|
|
|
|
|
|
# set several gnome settings options
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/desktop/interface" = {
|
|
|
|
color-scheme = "prefer-dark";
|
|
|
|
enable-hot-corners = true;
|
2023-10-21 10:00:53 +00:00
|
|
|
clock-show-seconds = true;
|
2023-10-21 15:22:06 +00:00
|
|
|
show-battery-percentage = true;
|
2023-11-08 21:09:04 +00:00
|
|
|
scaling-factor = 1.25;
|
2023-10-21 08:52:00 +00:00
|
|
|
};
|
|
|
|
"org/gnome/mutter" = {
|
|
|
|
dynamic-workspaces = true;
|
|
|
|
edge-tiling = true;
|
|
|
|
};
|
2023-10-21 10:00:53 +00:00
|
|
|
"org/gnome/shell" = {
|
|
|
|
favorite-apps = ["org.gnome.Nautilus.desktop" "gnome-system-monitor.desktop" "firefox.desktop" "org.gnome.Console.desktop"];
|
2023-11-08 21:09:04 +00:00
|
|
|
|
|
|
|
# set extensions
|
|
|
|
disable-user-extensions = false;
|
|
|
|
|
|
|
|
# `gnome-extensions list` for a list
|
|
|
|
enabled-extensions = [
|
|
|
|
"Vitals@CoreCoding.com"
|
|
|
|
"tiling-assistant@leleat-on-github"
|
|
|
|
];
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
"org/gnome/shell/extensions/tiling-assistant" = {
|
|
|
|
enable-tiling-popup = false;
|
2023-10-21 10:00:53 +00:00
|
|
|
};
|
2023-10-21 08:52:00 +00:00
|
|
|
};
|
|
|
|
|
2023-11-08 21:09:04 +00:00
|
|
|
|
|
|
|
|
2023-10-21 16:26:00 +00:00
|
|
|
#sound
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/settings-daemon/plugins/media-keys" = {
|
|
|
|
volume-step = 3;
|
|
|
|
};
|
|
|
|
"org/gnome/settings-daemon/plugins/power" = {
|
|
|
|
sleep-inactive-battery-type = "nothing";
|
|
|
|
sleep-inactive-ac-type = "nothing";
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
2023-10-21 08:52:00 +00:00
|
|
|
# nautilus settings
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/nautilus/preferences" = {
|
|
|
|
default-folder-viewer = "list-view";
|
|
|
|
};
|
|
|
|
"org/gnome/nautilus/list-view" = {
|
|
|
|
default-zoom-level = "small";
|
|
|
|
};
|
|
|
|
};
|
2023-10-21 10:00:53 +00:00
|
|
|
|
|
|
|
# set git names
|
|
|
|
programs.git = {
|
|
|
|
enable = true;
|
|
|
|
userName = "Lukas Heiligenbrunner";
|
|
|
|
userEmail = "lukas.heiligenbrunner@gmail.com";
|
|
|
|
};
|
2023-10-21 15:08:13 +00:00
|
|
|
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/desktop/background" = {
|
|
|
|
picture-uri = "/home/lukas/.background-image";
|
2023-10-21 15:22:06 +00:00
|
|
|
picture-uri-dark = "/home/lukas/.background-image";
|
2023-10-21 15:08:13 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
home.file.".background-image" = {
|
|
|
|
source = ./resources/background-hogwartslegacy.png;
|
|
|
|
};
|
2023-10-21 15:22:06 +00:00
|
|
|
|
|
|
|
# touchpad stuff
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/desktop/peripherals/touchpad" = {
|
|
|
|
natural-scroll = false;
|
|
|
|
tap-to-click = true;
|
|
|
|
};
|
|
|
|
};
|
2023-10-21 16:26:00 +00:00
|
|
|
|
|
|
|
# texteditor
|
|
|
|
dconf.settings = {
|
|
|
|
"org/gnome/TextEditor" = {
|
|
|
|
show-grid = true;
|
|
|
|
};
|
|
|
|
};
|
2023-11-08 21:09:04 +00:00
|
|
|
|
|
|
|
|
|
|
|
# gnome extensions
|
|
|
|
home.packages = with pkgs; [
|
|
|
|
gnomeExtensions.vitals
|
|
|
|
gnomeExtensions.tiling-assistant
|
|
|
|
];
|
|
|
|
|
|
|
|
programs.zsh = {
|
|
|
|
enable = true;
|
|
|
|
shellAliases = {
|
|
|
|
ll = "ls -l";
|
|
|
|
};
|
|
|
|
history = {
|
|
|
|
path = "${config.xdg.dataHome}/zsh/history";
|
|
|
|
size = 10000;
|
|
|
|
};
|
|
|
|
|
|
|
|
initExtra = ''
|
|
|
|
source .p10k.zsh
|
|
|
|
'';
|
|
|
|
plugins = [
|
|
|
|
{
|
|
|
|
name = "powerlevel10k";
|
|
|
|
src = pkgs.zsh-powerlevel10k;
|
|
|
|
file = "share/zsh-powerlevel10k/powerlevel10k.zsh-theme";
|
|
|
|
}
|
|
|
|
];
|
|
|
|
};
|
|
|
|
|
|
|
|
home.file.".p10k.zsh" = {
|
|
|
|
source = ./resources/.p10k.zsh;
|
|
|
|
};
|
2023-10-21 08:52:00 +00:00
|
|
|
}
|