feat: added additional software for hyprland

WIP: added waybar
chore: added ssh conf for compiler construction
This commit is contained in:
Patrick Großmann 2023-03-20 15:05:59 +09:00
parent 5b4a4c2623
commit e9085b6775
Signed by: patrick
GPG key ID: 451F95EFB8BECD0F
6 changed files with 86 additions and 53 deletions

View file

@ -23,6 +23,10 @@ MOD: TAGS: pkgs:
workspace_swipe = true
}
misc {
disable_hyprland_logo = true
}
# keybinds
bind=${MOD},q,killactive,
bind=${MOD},return,fullscreen,
@ -60,6 +64,8 @@ MOD: TAGS: pkgs:
bind=${MOD},b,exec,firefox
bind=${MOD},t,exec,kitty
bind=${MOD} + SHIFT,Escape,exit
exec-once="${pkgs.waybar}/bin/waybar main"
''
+ builtins.concatStringsSep "\n" (map (
x: ''

View file

@ -247,11 +247,11 @@
"locked": {
"lastModified": 1,
"narHash": "sha256-b3t2blYgmHf/HXc152Fa7+YKJSS05vRnrs8i+H6SWA8=",
"path": "/nix/store/m12grpvqvq7vs62knlp1s288mb2n775k-source/templates",
"path": "/nix/store/prychaf8a2rz70ix83z9knjhgv5ajviw-source/templates",
"type": "path"
},
"original": {
"path": "/nix/store/m12grpvqvq7vs62knlp1s288mb2n775k-source/templates",
"path": "/nix/store/prychaf8a2rz70ix83z9knjhgv5ajviw-source/templates",
"type": "path"
}
},

View file

@ -58,6 +58,13 @@
inherit identityFile;
};
"CompConst" = {
hostname = "cp-service.kaist.ac.kr";
user = "s20236085";
port = 13001;
inherit identityFile;
};
"valhalla" = {
hostname = "valhalla.fs.tum.de";
user = "grossmann";

View file

@ -6,6 +6,23 @@
MOD = "SUPER";
TAGS = map toString (lib.lists.range 42 50);
in {
home.packages = with pkgs; [
qt6.qtwayland
];
programs.waybar = {
enable = true;
settings = {
main = {
layer = "top";
position = "bottom";
modules-left = ["hyprland/window"];
modules-center = ["workspaces"];
modules-right = ["network" "memory" "backlight" "wireplumber" "battery" "clock" "tray"];
};
};
};
wayland.windowManager.hyprland = {
enable = true;
nvidiaPatches = true;

View file

@ -36,8 +36,8 @@
src = pkgs.fetchFromGitHub {
owner = "aloxaf";
repo = "fzf-tab";
rev = "69024c27738138d6767ea7246841fdfc6ce0d0eb";
sha256 = "07wwcplyb2mw10ia9y510iwfhaijnsdcb8yv2y3ladhnxjd6mpf8";
rev = "5a81e13792a1eed4a03d2083771ee6e5b616b9ab";
sha256 = "0lfl4r44ci0wflfzlzzxncrb3frnwzghll8p365ypfl0n04bkxvl";
};
}
{
@ -45,8 +45,8 @@
src = pkgs.fetchFromGitHub {
owner = "zdharma-continuum";
repo = "fast-syntax-highlighting";
rev = "7c390ee3bfa8069b8519582399e0a67444e6ea61";
sha256 = "0gh4is2yzwiky79bs8b5zhjq9khksrmwlaf13hk3mhvpgs8n1fn0";
rev = "5521b083f8979ad40be2137d7a46bfa51c8d666a";
sha256 = "0ki5dl3gvmcl1kr9smx0949303dxzwadz7r4abj7ivj3284xxk44";
};
}
];

View file

@ -58,6 +58,9 @@
};
};
# notification are nice to have
services.dunst.enable = true;
nixpkgs.config.allowUnfree = true;
xsession.enable = true;
}