Compare commits
No commits in common. "85cc291fd4c80bd2776e4c1314b2d60b44c3d812" and "8f2104599f55dcdffdf4b1d560ecb1e60de2c7b6" have entirely different histories.
85cc291fd4
...
8f2104599f
|
@ -1,8 +1,5 @@
|
|||
{pkgs, lib, ...}:
|
||||
{pkgs, ...}:
|
||||
{
|
||||
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
|
||||
"ookla-speedtest"
|
||||
];
|
||||
home.packages = with pkgs; [
|
||||
(python3.withPackages(ps: with ps; [
|
||||
# ansible
|
||||
|
@ -40,15 +37,13 @@
|
|||
minio-client
|
||||
liboping # fix it
|
||||
mtr
|
||||
ookla-speedtest
|
||||
colordiff
|
||||
direnv
|
||||
pure-prompt
|
||||
#vimPlugins.nvim-lspconfig
|
||||
#vimPlugins.nerdtree
|
||||
go gcc libcap
|
||||
gopls
|
||||
cargo
|
||||
go-langserver
|
||||
yarn
|
||||
pwgen
|
||||
pass-wayland
|
||||
|
@ -63,7 +58,7 @@
|
|||
kubernetes-helm
|
||||
helmfile
|
||||
k9s
|
||||
# nixopsUnstable
|
||||
nixopsUnstable
|
||||
];
|
||||
|
||||
programs.zsh = {
|
||||
|
@ -72,20 +67,6 @@
|
|||
# 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;
|
||||
|
||||
|
|
|
@ -7,55 +7,9 @@
|
|||
MOZ_WEBRENDER = 1;
|
||||
};
|
||||
|
||||
dconf.settings = {
|
||||
"org/gnome/mutter" = {
|
||||
# display: partly scale (like 150% or 125%)
|
||||
"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" ];
|
||||
};
|
||||
dconf.settings."org/gnome/mutter" = {
|
||||
"experimental-features" = ["scale-monitor-framebuffer"];
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -9,14 +9,9 @@
|
|||
"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");
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
iperf3
|
||||
bmon
|
||||
figlet
|
||||
grml-zsh-config
|
||||
tmux
|
||||
neovim
|
||||
xh
|
||||
|
@ -63,21 +64,20 @@
|
|||
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 = ''
|
||||
# promptInit = ''
|
||||
# source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
||||
# '';
|
||||
# promptInit = "";
|
||||
interactiveShellInit = ''
|
||||
source ${pkgs.grml-zsh-config}/etc/zsh/zshrc
|
||||
'';
|
||||
promptInit = "";
|
||||
shellAliases = {
|
||||
ip = "ip --color";
|
||||
watch = "watch -c";
|
||||
|
|
|
@ -19,7 +19,7 @@
|
|||
matchConfig = {
|
||||
Name = "wlan0";
|
||||
SSID = [
|
||||
"urbanForest-v6"
|
||||
"HotoHo-v6"
|
||||
];
|
||||
};
|
||||
networkConfig = {
|
||||
|
|
|
@ -48,13 +48,11 @@
|
|||
# openFirewall = true; - by enable
|
||||
};
|
||||
|
||||
|
||||
services.udev.extraRules = lib.mkMerge [
|
||||
# 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"''
|
||||
# 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"''
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue