Compare commits

...

7 Commits

6 changed files with 90 additions and 18 deletions

View File

@ -1,5 +1,8 @@
{pkgs, ...}:
{pkgs, lib, ...}:
{
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"ookla-speedtest"
];
home.packages = with pkgs; [
(python3.withPackages(ps: with ps; [
# ansible
@ -37,13 +40,15 @@
minio-client
liboping # fix it
mtr
ookla-speedtest
colordiff
direnv
pure-prompt
#vimPlugins.nvim-lspconfig
#vimPlugins.nerdtree
go gcc libcap
go-langserver
gopls
cargo
yarn
pwgen
pass-wayland
@ -58,7 +63,7 @@
kubernetes-helm
helmfile
k9s
nixopsUnstable
# nixopsUnstable
];
programs.zsh = {
@ -67,6 +72,20 @@
# broken: enableSyntaxHighlighting = true;
# grml and pure enabled ....
};
programs.starship = {
enable = true;
settings = {
directory = {
truncation_length = 0;
};
};
};
programs.atuin = {
enable = true;
settings = {
search_mode = "fulltext";
};
};
programs.direnv.enable = true;
programs.gitui.enable = true;

View File

@ -7,10 +7,56 @@
MOZ_WEBRENDER = 1;
};
dconf.settings = {
"org/gnome/mutter" = {
# display: partly scale (like 150% or 125%)
dconf.settings."org/gnome/mutter" = {
"experimental-features" = [ "scale-monitor-framebuffer" ];
};
# key bindings
"org/gnome/shell/keybindings" = {
"switch-to-application-1" = [];
"switch-to-application-2" = [];
"switch-to-application-3" = [];
"switch-to-application-4" = [];
"switch-to-application-5" = [];
"switch-to-application-6" = [];
"switch-to-application-7" = [];
"switch-to-application-8" = [];
"switch-to-application-9" = [];
};
"org/gnome/desktop/wm/keybindings" = {
"toggle-maximized" = [ "<Super>z" ];
"maximize" = [];
"unmaximize" = [ "<Alt>F5" ];
"close" = [ "<Super>c" "<Alt>F4" ];
"switch-input-source" = [ "<Super>i" "XF86Keyboard" ];
"switch-input-source-backward" = [ "<Shift><Super>i" "<Shift>XF86Keyboard" ];
"switch-to-workspace-1" = [ "<Super>1" ];
"switch-to-workspace-2" = [ "<Super>2" ];
"switch-to-workspace-3" = [ "<Super>3" ];
"switch-to-workspace-4" = [ "<Super>4" ];
"switch-to-workspace-5" = [ "<Super>5" ];
"switch-to-workspace-6" = [ "<Super>6" ];
"switch-to-workspace-7" = [ "<Super>7" ];
"switch-to-workspace-8" = [ "<Super>8" ];
"switch-to-workspace-9" = [ "<Super>9" ];
"switch-to-workspace-10" = [ "<Super>0" ];
"move-to-workspace-1" = [ "<Shift><Super>1" ];
"move-to-workspace-2" = [ "<Shift><Super>2" ];
"move-to-workspace-3" = [ "<Shift><Super>3" ];
"move-to-workspace-4" = [ "<Shift><Super>4" ];
"move-to-workspace-5" = [ "<Shift><Super>5" ];
"move-to-workspace-6" = [ "<Shift><Super>6" ];
"move-to-workspace-7" = [ "<Shift><Super>7" ];
"move-to-workspace-8" = [ "<Shift><Super>8" ];
"move-to-workspace-9" = [ "<Shift><Super>9" ];
"move-to-workspace-10" = [ "<Shift><Super>0" ];
};
};
home.packages = with pkgs; [
tilix

View File

@ -9,9 +9,14 @@
"github".url = "https://github.com";
};
settings = {
"extensions.pocket.enabled" = false;
#----
"browser.tabs.unloadOnLowMemory" = false;
# to enable userChrome
"toolkit.legacyUserProfileCustomizations.stylesheets" = true;
#----
"browser.newtabpage.activity-stream.showSponsoredTopSites" = false;
"browser.newtabpage.activity-stream.showSponsored" = false;
};
userChrome = ''
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");

View File

@ -48,7 +48,6 @@
iperf3
bmon
figlet
grml-zsh-config
tmux
neovim
xh
@ -64,20 +63,21 @@
programs.neovim = {
enable = true;
defaultEditor = true;
viAlias = true;
vimAlias = true;
};
# zsh
programs.starship.enable = true;
users.defaultUserShell = pkgs.zsh;
programs.zsh = {
enable = true;
autosuggestions.enable = true;
syntaxHighlighting.enable = true;
interactiveShellInit = ''
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
'';
promptInit = "";
# interactiveShellInit = ''
# promptInit = ''
# source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
# '';
# promptInit = "";
shellAliases = {
ip = "ip --color";
watch = "watch -c";

View File

@ -19,7 +19,7 @@
matchConfig = {
Name = "wlan0";
SSID = [
"HotoHo-v6"
"urbanForest-v6"
];
};
networkConfig = {

View File

@ -48,11 +48,13 @@
# openFirewall = true; - by enable
};
services.udev.extraRules = lib.mkMerge [
# autosuspend USB devices
''ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="auto"''
# autosuspend PCI devices
''ACTION=="add", SUBSYSTEM=="pci", TEST=="power/control", ATTR{power/control}="auto"''
# meine maus geht immer aus
# # autosuspend USB devices
# ''ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control", ATTR{power/control}="auto"''
# # autosuspend PCI devices
# ''ACTION=="add", SUBSYSTEM=="pci", TEST=="power/control", ATTR{power/control}="auto"''
# disable Ethernet Wake-on-LAN
''ACTION=="add", SUBSYSTEM=="net", NAME=="enp*", RUN+="${pkgs.ethtool}/sbin/ethtool -s $name wol d"''
];