added script to activate wayland specialisation, disabled bash lsp (causing issues)

This commit is contained in:
Aria Nolan 2023-10-29 00:35:51 -04:00
parent a7ac762a9f
commit a1dd79241c
8 changed files with 33 additions and 48 deletions

View file

@ -20,6 +20,7 @@
nixpkgs,
home-manager,
helix,
...
}: let
system = "x86_64-linux";
pkgs = inputs.nixpkgs.legacyPackages.${system};
@ -57,21 +58,9 @@
extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config
modules = [
./users/tacocat/home.nix
./users/tacocat/wayland
];
};
# homeConfigurations."tacocat-X11" = inputs.home-manager.lib.homeManagerConfiguration {
# inherit pkgs;
# extraSpecialArgs = {inherit inputs;}; # Pass flake inputs to our config
# modules = [
# ./users/tacocat/home.nix
# ./users/tacocat/X11
# ];
# };
#outputs home-manager activation package for use on non-NixOS, i think?
packages.${system}."tacocat" = self.homeConfigurations."tacocat".activationPackage;
# packages.${system}."tacocat-X11" = self.homeConfigurations."tacocat-X11".activationPackage;
};
}

View file

@ -86,17 +86,17 @@
};
programs.river.enable = true;
programs.river.extraPackages = with pkgs; [
swaylock
swayidle
dunst
wlsunset
nm-applet
grim
slurp
waybar
wbg
];
# programs.river.extraPackages = with pkgs; [
# swaylock
# swayidle
# dunst
# wlsunset
# nm-applet
# grim
# slurp
# waybar
# wbg
# ];
environment = {
systemPackages = with pkgs; [

View file

@ -5,14 +5,14 @@
}: {
programs.helix.languages = {
language = [
{
name = "bash";
auto-format = false;
formatter = {
command = "${pkgs.shfmt}/bin/shfmt";
args = ["-i" "2"];
};
}
# {
# name = "bash";
# auto-format = false;
# formatter = {
# command = "${pkgs.shfmt}/bin/shfmt";
# args = ["-i" "2"];
# };
# }
{
name = "java";
@ -20,10 +20,10 @@
}
];
language-server = {
bash-language-server = {
command = "${pkgs.nodePackages.bash-language-server}/bin/bash-language-server";
args = ["start"];
};
# bash-language-server = {
# command = "${pkgs.nodePackages.bash-language-server}/bin/bash-language-server";
# args = ["start"];
# };
clangd = {
command = "${pkgs.clang-tools}/bin/clangd";

View file

@ -27,6 +27,7 @@
wineWowPackages.unstable
eza
bat
networkmanagerapplet
comic-mono
maple-mono
jetbrains-mono
@ -35,6 +36,11 @@
jdk20
pdftk
git
(writeShellScriptBin "hs-way" ''
home-manager --flake $HOME/nix-config/#tacocat switch
GEN=$(home-manager generations | head -1 | awk '{print $NF}')
"$GEN/specialisation/wayland/activate"
'')
];
};

View file

@ -19,6 +19,9 @@
swaylock
swayidle
wbg
dunst
grim
slurp
];
programs.rofi.package = pkgs.rofi-wayland-unwrapped;

View file

@ -21,7 +21,6 @@ riverctl map normal Super Q close
# Super+Shift+E to exit river
riverctl map normal Super+Shift E exit
riverctl map normal Super+Shift R spawn "$HOME/.config/river/reload"
# Super+J and Super+K to focus the next/previous view in the layout stack
riverctl map normal Super J focus-view next

View file

@ -1,6 +1,5 @@
#!/usr/bin/env bash
wlsunset -S 8:00 -s 23:30 &
waybar &
nm-applet --indicator &
dunst &

View file

@ -1,11 +0,0 @@
#!/bin/bash
# killall pipewire
killall wlsunset
killall waybar
killall nm-applet
killall dunst
killall swayidle
killall wbg
killall void-setup
~/.config/river/init