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
|
./flatpak.nix
|
||||||
./sober.nix
|
./sober.nix
|
||||||
# ./librewolf.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
|
# 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.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
|
# General use home packages that dont require a separate module
|
||||||
home.packages = [
|
home.packages = [
|
||||||
# Add grimblast screenshot tool
|
# Add grimblast screenshot tool
|
||||||
pkgs.grimblast
|
pkgs.grimblast
|
||||||
|
pkgs.powerline-fonts
|
||||||
];
|
];
|
||||||
|
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
|
@ -47,6 +72,9 @@
|
||||||
lines = 3;
|
lines = 3;
|
||||||
columns = 200;
|
columns = 200;
|
||||||
};
|
};
|
||||||
|
font.normal = {
|
||||||
|
family = "hack";
|
||||||
|
};
|
||||||
# keyboard.bindings = [
|
# keyboard.bindings = [
|
||||||
# {
|
# {
|
||||||
# key = "K";
|
# key = "K";
|
||||||
|
|
|
@ -15,22 +15,16 @@
|
||||||
monitor = eDP-2, 2560x1600@165, 0x0, auto # main laptop monitor
|
monitor = eDP-2, 2560x1600@165, 0x0, auto # main laptop monitor
|
||||||
monitor = DP-3, 1920x1080@119.98, -1280x-1080, auto # left external 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
|
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
|
# Hyprland configuration
|
||||||
wayland.windowManager.hyprland.settings = {
|
wayland.windowManager.hyprland.settings = {
|
||||||
"$mod" = "SUPER";
|
"$mod" = "SUPER";
|
||||||
input = { kb_layout = "gb"; };
|
input = { kb_layout = "gb"; };
|
||||||
|
bindm = [
|
||||||
|
"$mod, mouse:272, movewindow"
|
||||||
|
"$mod, mouse:273, resizewindow"
|
||||||
|
];
|
||||||
bind =
|
bind =
|
||||||
[
|
[
|
||||||
# Keybinds for starting programs
|
# Keybinds for starting programs
|
||||||
|
@ -62,8 +56,10 @@
|
||||||
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
"$mod, ${ws}, workspace, ${toString (x + 1)}"
|
||||||
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
"$mod SHIFT, ${ws}, movetoworkspace, ${toString (x + 1)}"
|
||||||
]
|
]
|
||||||
)
|
) 10)
|
||||||
10)
|
|
||||||
);
|
);
|
||||||
|
xwayland = {
|
||||||
|
force_zero_scaling = true;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -5,15 +5,16 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
autocd = true;
|
autocd = true;
|
||||||
dotDir = ".config/zsh";
|
dotDir = ".config/zsh";
|
||||||
enableAutosuggestions = true;
|
autosuggestion.enable = true;
|
||||||
enableCompletion = true;
|
enableCompletion = true;
|
||||||
# shellAliases = {
|
shellAliases = {
|
||||||
# sl = "exa";
|
ls = "eza -lh";
|
||||||
# ls = "exa";
|
ip = "ip --color=auto";
|
||||||
# l = "exa -l";
|
|
||||||
# la = "exa -la";
|
# Aliases for my nixos workflow, requires nh and home-manager
|
||||||
# ip = "ip --color=auto";
|
switch = "nh os switch";
|
||||||
# };
|
homeswitch = "home-manager switch --flake /home/blue/nixos";
|
||||||
|
};
|
||||||
|
|
||||||
plugins = with pkgs; [
|
plugins = with pkgs; [
|
||||||
{
|
{
|
||||||
|
@ -26,4 +27,10 @@
|
||||||
};
|
};
|
||||||
file = "agkozak-zsh-prompt.plugin.zsh";
|
file = "agkozak-zsh-prompt.plugin.zsh";
|
||||||
}
|
}
|
||||||
|
];
|
||||||
|
oh-my-zsh = {
|
||||||
|
enable = true;
|
||||||
|
theme = "agnoster";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -20,6 +20,7 @@
|
||||||
# default kernel causes issues with wpa_supplicant meaning shutdown times are > 10 mins updating to kernel 69+ fixes this
|
# default kernel causes issues with wpa_supplicant meaning shutdown times are > 10 mins updating to kernel 69+ fixes this
|
||||||
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_10;
|
boot.kernelPackages = pkgs.linuxKernel.packages.linux_6_10;
|
||||||
|
|
||||||
|
# I was told that adding these helps but it doesnt seemt to work as monitors are still buggy at 144hz, may as well keep them
|
||||||
boot.kernelParams = [
|
boot.kernelParams = [
|
||||||
"video=DP-2:1920x1080@144"
|
"video=DP-2:1920x1080@144"
|
||||||
"video=DP-3:1920x1080@144"
|
"video=DP-3:1920x1080@144"
|
||||||
|
@ -101,7 +102,7 @@
|
||||||
users.users.blue = {
|
users.users.blue = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Gabriella Bere";
|
description = "Gabriella Bere";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "dialout" ];
|
||||||
shell = pkgs.zsh;
|
shell = pkgs.zsh;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -128,68 +129,25 @@
|
||||||
# Enable flatpak for delcarative-flatpak used in home-manager
|
# Enable flatpak for delcarative-flatpak used in home-manager
|
||||||
services.flatpak.enable = true;
|
services.flatpak.enable = true;
|
||||||
|
|
||||||
# Monolithic packaged declaration, using merge because it amuses me but this needs to be split up
|
# Enable qmk for managing framework laptop keyboards
|
||||||
# lib.mkMerge [
|
|
||||||
# {
|
|
||||||
# environment.systemPackages = with pkgs; [
|
|
||||||
# neovim # nano is installed by default
|
|
||||||
# wget
|
|
||||||
# vesktop
|
|
||||||
# prismlauncher
|
|
||||||
# thunderbird
|
|
||||||
# kdePackages.bluedevil
|
|
||||||
# fastfetch
|
|
||||||
# ungoogled-chromium
|
|
||||||
# qbittorrent
|
|
||||||
# obsidian
|
|
||||||
# p7zip
|
|
||||||
# unrar
|
|
||||||
# wineWowPackages.stable
|
|
||||||
# wine
|
|
||||||
# (wine.override { wineBuild = "wine64"; })
|
|
||||||
# wine64
|
|
||||||
# wineWowPackages.staging
|
|
||||||
# winetricks
|
|
||||||
# wineWowPackages.waylandFull
|
|
||||||
# vlc
|
|
||||||
# krename
|
|
||||||
# kdePackages.filelight
|
|
||||||
# protonmail-bridge
|
|
||||||
# obs-studio
|
|
||||||
# pciutils
|
|
||||||
# vial
|
|
||||||
# git
|
|
||||||
# qmk
|
|
||||||
# dmidecode
|
|
||||||
# wl-clipboard
|
|
||||||
# lutris
|
|
||||||
# tree
|
|
||||||
# tenacity
|
|
||||||
# mediawriter
|
|
||||||
# home-manager
|
|
||||||
# ];
|
|
||||||
# }
|
|
||||||
# {
|
|
||||||
# environment.systemPackages = with stable; [
|
|
||||||
# librewolf
|
|
||||||
# ];
|
|
||||||
# }
|
|
||||||
# ];
|
|
||||||
hardware.keyboard.qmk.enable = true;
|
hardware.keyboard.qmk.enable = true;
|
||||||
|
|
||||||
|
# Enable steam and enable steam remoteplay
|
||||||
programs.steam.enable = true;
|
programs.steam.enable = true;
|
||||||
programs.steam.remotePlay.openFirewall = true;
|
programs.steam.remotePlay.openFirewall = true;
|
||||||
|
|
||||||
|
services.protonmail-bridge.enable = true;
|
||||||
|
|
||||||
# protonmail daemon config
|
# protonmail daemon config
|
||||||
systemd.user.services.protonmail-bridge = {
|
# systemd.user.services.protonmail-bridge = {
|
||||||
enable = true;
|
# enable = true;
|
||||||
wantedBy = [ "default.target" ];
|
# wantedBy = [ "default.target" ];
|
||||||
description = "autostart protonmail-bridge on login as a daemon";
|
# description = "autostart protonmail-bridge on login as a daemon";
|
||||||
serviceConfig = {
|
# serviceConfig = {
|
||||||
Type = "simple";
|
# Type = "simple";
|
||||||
ExecStart = "/nix/store/protonmail-bridge --noninteractive --no-window";
|
# ExecStart = "${lib.getExe pkgs.protonmail-bridge} --noninteractive --no-window";
|
||||||
};
|
# };
|
||||||
};
|
# };
|
||||||
|
|
||||||
# Some programs need SUID wrappers, can be configured further or are
|
# Some programs need SUID wrappers, can be configured further or are
|
||||||
# started in user sessions.
|
# started in user sessions.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue