Compare commits

..

No commits in common. "85cc291fd4c80bd2776e4c1314b2d60b44c3d812" and "8f2104599f55dcdffdf4b1d560ecb1e60de2c7b6" have entirely different histories.

6 changed files with 18 additions and 90 deletions

View File

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

View File

@ -7,56 +7,10 @@
MOZ_WEBRENDER = 1; MOZ_WEBRENDER = 1;
}; };
dconf.settings = {
"org/gnome/mutter" = {
# display: partly scale (like 150% or 125%) # display: partly scale (like 150% or 125%)
dconf.settings."org/gnome/mutter" = {
"experimental-features" = ["scale-monitor-framebuffer"]; "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; [ home.packages = with pkgs; [
tilix tilix

View File

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

View File

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

View File

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

View File

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