small qol fixes
This commit is contained in:
parent
b878344566
commit
7bfaf91106
@ -63,3 +63,5 @@ TODO - disable root user
|
||||
- https://github.com/elifouts/Dotfiles
|
||||
- https://github.com/nomadics9/nixcfg
|
||||
- https://github.com/Daholli/nixos-config
|
||||
- https://github.com/khaneliman/khanelinix
|
||||
- https://github.com/NotAShelf/nyx
|
||||
|
@ -16,6 +16,9 @@
|
||||
ms-python.isort
|
||||
ms-python.debugpy
|
||||
ms-python.vscode-pylance
|
||||
ms-toolsai.jupyter
|
||||
ms-toolsai.vscode-jupyter-slideshow
|
||||
ms-toolsai.jupyter-renderers
|
||||
|
||||
# Nix language
|
||||
jnoortheen.nix-ide
|
||||
@ -72,11 +75,12 @@
|
||||
"terminal.external.linuxExec" = "kitty";
|
||||
"workbench.startupEditor" = "newUntitledFile";
|
||||
# "workbench.colorTheme" = "Default Light+";
|
||||
"github.copilot.editor.enableAutoCompletions" = true;
|
||||
"github.copilot.advanced" = {};
|
||||
"github.copilot.enable" = {
|
||||
"*" = true;
|
||||
};
|
||||
|
||||
# Extension management
|
||||
"extensions.autoCheckUpdates" = false;
|
||||
"extensions.autoUpdate" = false;
|
||||
"extensions.ignoreRecommendations" = true;
|
||||
|
||||
|
||||
# git
|
||||
"git.ignoreMissingGitWarning" = true;
|
||||
@ -87,7 +91,15 @@
|
||||
"diffEditor.hideUnchangedRegions.enabled" = true;
|
||||
"diffEditor.ignoreTrimWhitespace" = false;
|
||||
|
||||
# Copilot
|
||||
"github.copilot.editor.enableAutoCompletions" = true;
|
||||
"github.copilot.advanced" = {};
|
||||
"github.copilot.enable" = {
|
||||
"*" = true;
|
||||
};
|
||||
|
||||
# Python
|
||||
"python.terminal.activateEnvironment" = false; # let nix-shell handle this
|
||||
"jupyter.disableJupyterAutoStart" = true;
|
||||
"jupyter.askForKernelRestart" = false;
|
||||
"workbench.editorAssociations" = {
|
||||
|
@ -1,9 +1,17 @@
|
||||
{pkgs, ...}:
|
||||
{
|
||||
# Required by the fzf fish plugin
|
||||
programs.fzf = {
|
||||
enable = true;
|
||||
};
|
||||
|
||||
home.packages = with pkgs; [
|
||||
fd
|
||||
bat
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
programs.fish = {
|
||||
enable = true;
|
||||
@ -22,9 +30,6 @@
|
||||
];
|
||||
};
|
||||
|
||||
home.packages = [
|
||||
pkgs.fishPlugins.tide
|
||||
];
|
||||
|
||||
# sets the "default" shell to fish
|
||||
# actually keeps bash as a posix-compliant default but starts fish if the shell is not bash
|
||||
|
@ -112,6 +112,7 @@
|
||||
];
|
||||
|
||||
exec-once = [
|
||||
"gnome-keyring-daemon --start --components=secrets"
|
||||
# "${pkgs.hyprpaper}/bin/hyprpaper"
|
||||
# hyprpaper is handled as its own service
|
||||
"${pkgs.waybar}/bin/waybar"
|
||||
|
@ -18,6 +18,7 @@
|
||||
margin-bottom = 2;
|
||||
margin-left = 5;
|
||||
margin-right = 5;
|
||||
|
||||
layer = "top";
|
||||
position = "top";
|
||||
spacing = 5;
|
||||
@ -34,12 +35,9 @@
|
||||
|
||||
modules-right = [
|
||||
"tray"
|
||||
# "temperature"
|
||||
# "group/expand"
|
||||
# "bluetooth"
|
||||
"privacy"
|
||||
"wireplumber"
|
||||
"network"
|
||||
# "mpd"
|
||||
"battery"
|
||||
"backlight"
|
||||
"idle_inhibitor"
|
||||
@ -82,7 +80,6 @@
|
||||
};
|
||||
tooltip = "true";
|
||||
};
|
||||
|
||||
"bluetooth" = {
|
||||
format-on = "";
|
||||
format-off = "BT-off";
|
||||
@ -91,7 +88,7 @@
|
||||
format-alt = "{device_alias} ";
|
||||
tooltip-format = "{controller_alias}\t{controller_address}\n\n{num_connections} connected";
|
||||
tooltip-format-connected = "{controller_alias}\t{controller_address}\n\n{num_connections} connected\n\n{device_enumerate}";
|
||||
tooltip-format-enumerate-connected = "{device_alias}\n{device_address}";
|
||||
tooltip-formaenumeratet-enumerate-connected = "{device_alias}\n{device_address}";
|
||||
tooltip-format-enumerate-connected-battery = "{device_alias}\n{device_address}\n{device_battery_percentage}%";
|
||||
on-click-right = "blueman-manager";
|
||||
};
|
||||
@ -167,6 +164,28 @@
|
||||
tooltip-format-disconnected = "Disconnected";
|
||||
on-click = "XDG_CURRENT_DESKTOP=GNOME gnome-control-center wifi";
|
||||
};
|
||||
"privacy" = {
|
||||
icon-spacing = 4;
|
||||
# icon-size" = 18;
|
||||
transition-duration = 250;
|
||||
modules = [
|
||||
{
|
||||
type = "screenshare";
|
||||
tooltip = true;
|
||||
# tooltip-icon-size = 24
|
||||
}
|
||||
{
|
||||
type = "audio-out";
|
||||
tooltip = true;
|
||||
# tooltip-icon-size = 24
|
||||
}
|
||||
{
|
||||
type = "audio-in";
|
||||
tooltip = true;
|
||||
# tooltip-icon-size = 24
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
@ -205,6 +224,10 @@
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
#workspaces button {
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
#battery.warning {
|
||||
background:rgba(240, 165, 0, 0.6);
|
||||
}
|
||||
|
@ -4,20 +4,19 @@
|
||||
|
||||
xdg.portal = {
|
||||
enable = true;
|
||||
configPackages = [ pkgs.hyprland ];
|
||||
xdgOpenUsePortal = true;
|
||||
|
||||
# configPackages = [ pkgs.hyprland ];
|
||||
config = {
|
||||
common.default = ["gtk"];
|
||||
hyprland.default = ["gtk" "hyprland"];
|
||||
};
|
||||
|
||||
extraPortals = [
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-gtk
|
||||
pkgs.xdg-desktop-portal-wlr
|
||||
pkgs.xdg-desktop-portal-hyprland
|
||||
];
|
||||
};
|
||||
|
||||
|
||||
xdg.userDirs = {
|
||||
enable = true;
|
||||
createDirectories = true;
|
||||
desktop = "Desktop";
|
||||
documents = "Documents";
|
||||
# downloads = "Downloads";
|
||||
pictures = "Pictures";
|
||||
};
|
||||
}
|
||||
|
@ -1,4 +1,13 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
environment.systemPackages = [
|
||||
pkgs.bluez
|
||||
];
|
||||
hardware.bluetooth = {
|
||||
enable = true;
|
||||
powerOnBoot = false;
|
||||
@ -14,5 +23,4 @@
|
||||
};
|
||||
};
|
||||
};
|
||||
services.blueman.enable = true;
|
||||
}
|
@ -22,4 +22,6 @@
|
||||
};
|
||||
security.pam.services.hyprlock = {};
|
||||
|
||||
security.pam.services.gdm.enableGnomeKeyring = true;
|
||||
|
||||
}
|
||||
|
@ -35,4 +35,36 @@ with lib.hm.gvariant;
|
||||
userName = "Remy Moll";
|
||||
userEmail = "me@moll.re";
|
||||
};
|
||||
|
||||
## XDG configuration
|
||||
xdg = {
|
||||
userDirs = {
|
||||
enable = true;
|
||||
desktop = "Desktop";
|
||||
pictures = "Pictures";
|
||||
documents = "Documents";
|
||||
publicShare = null;
|
||||
music = null;
|
||||
templates = null;
|
||||
};
|
||||
|
||||
mimeApps = {
|
||||
enable = true;
|
||||
defaultApplications = {
|
||||
"inode/directory" = "org.gnome.Nautilus.desktop";
|
||||
"application/zip" = "org.gnome.FileRoller.desktop";
|
||||
"application/octet-stream" = "org.gnome.GHex.desktop";
|
||||
# pdfs
|
||||
"application/pdf" = "org.gnome.Evince.desktop";
|
||||
# images
|
||||
# "image/png" = "org.gnome.Evince.desktop";
|
||||
# "image/jpeg" = "org.gnome.Evince.desktop";
|
||||
# "image/gif" = "org.gnome.Evince.desktop";
|
||||
# "image/svg+xml" = "org.gnome.Evince.desktop";
|
||||
# "image/tiff" = "org.gnome.Evince.desktop";
|
||||
# text-based
|
||||
"text/*" = "vscode.desktop";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user