small experiments and fixes

This commit is contained in:
Patrick Großmann 2023-05-26 19:13:51 +09:00
parent da45ef9ecd
commit 608752f938
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
8 changed files with 30 additions and 6 deletions

View file

@ -217,11 +217,11 @@
"xdph": "xdph" "xdph": "xdph"
}, },
"locked": { "locked": {
"lastModified": 1684750687, "lastModified": 1684959562,
"narHash": "sha256-lqFY4fLfx17l4lFBCe0nQdNAexxkqut90Y2cBOc2gbo=", "narHash": "sha256-Lmdq2O1JtIu7JPce852a7oChjm/zmkLg/JUAT3Tmh6I=",
"owner": "hyprwm", "owner": "hyprwm",
"repo": "Hyprland", "repo": "Hyprland",
"rev": "ad244190e001de3eded047a5a387ea47fa0b3eea", "rev": "a2bb95fc60c717c873eff273f5ee035e622565d0",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -51,6 +51,7 @@
hyprland = { hyprland = {
url = "github:hyprwm/Hyprland"; url = "github:hyprwm/Hyprland";
#url = "/home/patrick/Downloads/Hyprland";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };

View file

@ -12,6 +12,22 @@
environment.systemPackages = with pkgs; [zfs]; environment.systemPackages = with pkgs; [zfs];
# Might help with hangs mainly atuin
#boot.kernelPatches = [
# {
# name = "enable RT_FULL";
# patch = null;
# extraConfig = ''
# PREEMPT y
# PREEMPT_BUILD y
# PREEMPT_VOLUNTARY n
# PREEMPT_COUNT y
# PREEMPTION y
# DEBUG_INFO_BTF n
# '';
# }
#];
services.zfs = { services.zfs = {
autoScrub = { autoScrub = {
enable = true; enable = true;

View file

@ -12,7 +12,8 @@ in {
name = x; name = x;
value = []; value = [];
}) })
TAGS); ["42" "43" "44"]);
home.packages = with pkgs; [ home.packages = with pkgs; [
qt6.qtwayland qt6.qtwayland
wl-clipboard wl-clipboard
@ -24,6 +25,6 @@ in {
enable = true; enable = true;
xwayland.hidpi = true; xwayland.hidpi = true;
nvidiaPatches = true; nvidiaPatches = true;
extraConfig = import ./hyprland.conf MOD TAGS pkgs; extraConfig = import ./hyprland.conf.nix MOD TAGS pkgs;
}; };
} }

View file

@ -40,6 +40,9 @@
format = "{ifname} {bandwidthUpBits} {bandwidthDownBits}"; format = "{ifname} {bandwidthUpBits} {bandwidthDownBits}";
interval = 1; interval = 1;
}; };
"wlr/workspaces" = {
on-click = "activate";
};
}; };
}; };
style = ./waybar.css; style = ./waybar.css;

View file

@ -7,6 +7,9 @@
defaultEditor = true; defaultEditor = true;
withNodeJs = true; withNodeJs = true;
extraPackages = with pkgs; [ extraPackages = with pkgs; [
# treesitter
clang_15
clang-tools_15
# tabnine complition braucht unzip # tabnine complition braucht unzip
unzip unzip
# telescope fzf native braucht make # telescope fzf native braucht make

View file

@ -54,7 +54,7 @@ return {
renamed = "", renamed = "",
untracked = "?", untracked = "?",
ignored = "", ignored = "",
unstaged = "", unstaged = "󰄱",
staged = "", staged = "",
conflict = "", conflict = "",
}, },