add user to dialout group for access to Duet3DMC6HC
This commit is contained in:
parent
b20a1f400a
commit
442bbceb38
5 changed files with 92 additions and 94 deletions
9
home-manager/eza.nix
Normal file
9
home-manager/eza.nix
Normal file
|
@ -0,0 +1,9 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
programs.eza = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
git = true;
|
||||
icons = true;
|
||||
};
|
||||
}
|
|
@ -11,15 +11,40 @@
|
|||
./flatpak.nix
|
||||
./sober.nix
|
||||
# ./librewolf.nix
|
||||
./zsh.nix
|
||||
./eza.nix
|
||||
];
|
||||
|
||||
# States home manager version that config was originally compatible with, do not change without reading all patch notes since this version and altering as needed
|
||||
home.stateVersion = "24.05";
|
||||
|
||||
|
||||
home.pointerCursor =
|
||||
let
|
||||
getFrom = url: hash: name: {
|
||||
gtk.enable = true;
|
||||
x11.enable = true;
|
||||
name = name;
|
||||
size = 48;
|
||||
package =
|
||||
pkgs.runCommand "moveUp" {} ''
|
||||
mkdir -p $out/share/icons
|
||||
ln -s ${pkgs.fetchzip {
|
||||
url = url;
|
||||
hash = hash;
|
||||
}} $out/share/icons/${name}
|
||||
'';
|
||||
};
|
||||
in
|
||||
getFrom
|
||||
"https://github.com/ful1e5/fuchsia-cursor/releases/download/v2.0.0/Fuchsia-Pop.tar.gz"
|
||||
"sha256-BvVE9qupMjw7JRqFUj1J0a4ys6kc9fOLBPx2bGaapTk="
|
||||
"Fuchsia-Pop";
|
||||
|
||||
# General use home packages that dont require a separate module
|
||||
home.packages = [
|
||||
# Add grimblast screenshot tool
|
||||
pkgs.grimblast
|
||||
pkgs.powerline-fonts
|
||||
];
|
||||
|
||||
home.sessionVariables = {
|
||||
|
@ -47,6 +72,9 @@
|
|||
lines = 3;
|
||||
columns = 200;
|
||||
};
|
||||
font.normal = {
|
||||
family = "hack";
|
||||
};
|
||||
# keyboard.bindings = [
|
||||
# {
|
||||
# key = "K";
|
||||
|
|
|
@ -15,22 +15,16 @@
|
|||
monitor = eDP-2, 2560x1600@165, 0x0, auto # main laptop monitor
|
||||
monitor = DP-3, 1920x1080@119.98, -1280x-1080, auto # left external monitor
|
||||
monitor = DP-2, 1920x1080@119.98, 640x-1080, auto # right external monitor
|
||||
|
||||
debug:disable_logs = false
|
||||
|
||||
# Move/resize windows with mainMod + LMB/RMB and dragging
|
||||
bindm = $mod, mouse:272, movewindow
|
||||
bindm = $mod, mouse:273, resizewindow
|
||||
|
||||
xwayland {
|
||||
force_zero_scaling = true
|
||||
}
|
||||
'';
|
||||
};
|
||||
# Hyprland configuration
|
||||
wayland.windowManager.hyprland.settings = {
|
||||
"$mod" = "SUPER";
|
||||
input = { kb_layout = "gb"; };
|
||||
bindm = [
|
||||
"$mod, mouse:272, movewindow"
|
||||
"$mod, mouse:273, resizewindow"
|
||||
];
|
||||
bind =
|
||||
[
|
||||
# Keybinds for starting programs
|
||||
|
@ -53,17 +47,19 @@
|
|||
# workspaces
|
||||
# binds $mod + [shift +] {1..10} to [move to] workspace {1..10}
|
||||
builtins.concatLists (builtins.genList (
|
||||
x: let
|
||||
ws = let
|
||||
c = (x + 1) / 10;
|
||||
in
|
||||
builtins.toString (x + 1 - (c * 10));
|
||||
x: let
|
||||
ws = let
|
||||
c = (x + 1) / 10;
|
||||
in
|
||||
builtins.toString (x + 1 - (c * 10));
|
||||
in [
|
||||
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
||||
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||
]
|
||||
)
|
||||
10)
|
||||
) 10)
|
||||
);
|
||||
xwayland = {
|
||||
force_zero_scaling = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -5,25 +5,32 @@
|
|||
enable = true;
|
||||
autocd = true;
|
||||
dotDir = ".config/zsh";
|
||||
enableAutosuggestions = true;
|
||||
autosuggestion.enable = true;
|
||||
enableCompletion = true;
|
||||
# shellAliases = {
|
||||
# sl = "exa";
|
||||
# ls = "exa";
|
||||
# l = "exa -l";
|
||||
# la = "exa -la";
|
||||
# ip = "ip --color=auto";
|
||||
# };
|
||||
shellAliases = {
|
||||
ls = "eza -lh";
|
||||
ip = "ip --color=auto";
|
||||
|
||||
plugins = with pkgs; [
|
||||
{
|
||||
name = "zsh-syntax-highlighting";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zsh-users";
|
||||
repo = "zsh-syntax-highlighting";
|
||||
rev = "0.6.0";
|
||||
sha256 = "0zmq66dzasmr5pwribyh4kbkk23jxbpdw4rjxx0i7dx8jjp2lzl4";
|
||||
};
|
||||
file = "agkozak-zsh-prompt.plugin.zsh";
|
||||
}
|
||||
# Aliases for my nixos workflow, requires nh and home-manager
|
||||
switch = "nh os switch";
|
||||
homeswitch = "home-manager switch --flake /home/blue/nixos";
|
||||
};
|
||||
|
||||
plugins = with pkgs; [
|
||||
{
|
||||
name = "zsh-syntax-highlighting";
|
||||
src = fetchFromGitHub {
|
||||
owner = "zsh-users";
|
||||
repo = "zsh-syntax-highlighting";
|
||||
rev = "0.6.0";
|
||||
sha256 = "0zmq66dzasmr5pwribyh4kbkk23jxbpdw4rjxx0i7dx8jjp2lzl4";
|
||||
};
|
||||
file = "agkozak-zsh-prompt.plugin.zsh";
|
||||
}
|
||||
];
|
||||
oh-my-zsh = {
|
||||
enable = true;
|
||||
theme = "agnoster";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue