Fix statix warnings

This commit is contained in:
Erwin Boskma 2023-09-13 14:50:03 +02:00
parent 0cc41287d4
commit 5480e4be81
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg
16 changed files with 826 additions and 715 deletions

View file

@ -19,8 +19,10 @@
pre-commit-hooks = {
url = "github:cachix/pre-commit-hooks.nix";
inputs.flake-utils.follows = "flake-utils";
inputs.nixpkgs.follows = "nixpkgs";
inputs = {
flake-utils.follows = "flake-utils";
nixpkgs.follows = "nixpkgs";
};
};
nixinate = {
@ -35,14 +37,18 @@
rust-overlay = {
url = "github:oxalica/rust-overlay";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
microvm = {
url = "github:astro/microvm.nix";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
sops = {
@ -52,15 +58,19 @@
emacs-overlay = {
url = "github:nix-community/emacs-overlay";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
nil = {
url = "github:oxalica/nil";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.rust-overlay.follows = "rust-overlay";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
rust-overlay.follows = "rust-overlay";
};
};
disko = {
@ -74,35 +84,45 @@
eww = {
url = "github:elkowar/eww";
inputs.nixpkgs.follows = "nixpkgs";
inputs.rust-overlay.follows = "rust-overlay";
inputs = {
nixpkgs.follows = "nixpkgs";
rust-overlay.follows = "rust-overlay";
};
};
caddy-with-plugins = {
url = "github:eboskma/caddy-with-plugins";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-parts.follows = "flake-parts";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-parts.follows = "flake-parts";
};
};
ha-now-playing = {
url = "git+https://git.datarift.nl/erwin/ha-now-playing.git?ref=main";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.rust-overlay.follows = "rust-overlay";
inputs.pre-commit-hooks.follows = "pre-commit-hooks";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
rust-overlay.follows = "rust-overlay";
pre-commit-hooks.follows = "pre-commit-hooks";
};
};
pamedia = {
url = "git+https://git.datarift.nl/erwin/pamedia-rs.git?ref=main";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs.naersk.follows = "naersk";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
naersk.follows = "naersk";
};
};
sunshine = {
url = "git+https://git@git.datarift.nl/erwin/sunshine.git?ref=main";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
inputs = {
nixpkgs.follows = "nixpkgs";
flake-utils.follows = "flake-utils";
};
};
};

View file

@ -12,7 +12,8 @@ in
};
config = mkIf cfg.enable {
programs.fish = {
programs = {
fish = {
enable = true;
functions = import ./functions.nix { inherit (pkgs) git coreutils; };
@ -40,7 +41,7 @@ in
'';
};
programs.fzf = {
fzf = {
enable = true;
enableFishIntegration = true;
changeDirWidgetCommand = "${pkgs.fd}/bin/fd -type d";
@ -56,14 +57,15 @@ in
fileWidgetCommand = "${pkgs.fd}/bin/fd -type f";
};
programs.direnv = {
direnv = {
enable = true;
nix-direnv.enable = true;
};
programs.zoxide = {
zoxide = {
enable = true;
enableFishIntegration = true;
};
};
};
}

View file

@ -176,32 +176,46 @@ in
format = "<label-state> <label-mode>";
label.mode.text = "󰁌 %mode%"; # Icon: arrow_expand_all
label.mode.padding = 1;
label = {
mode = {
text = "󰁌 %mode%"; # Icon: arrow_expand_all
padding = 1;
};
label.focused.text = " %index%"; # Icon: fa-circle
label.focused.padding = 1;
label.focused.background = "#333333";
label.focused.underline = "#ffffff";
focused = {
text = " %index%"; # Icon: fa-circle
padding = 1;
background = "#333333";
underline = "#ffffff";
};
label.unfocused.text = " %index%"; # Icon: fa-circle_o
label.unfocused.padding = 1;
unfocused = {
text = " %index%"; # Icon: fa-circle_o
padding = 1;
};
label.visible.text = " %index%"; # Icon: fa-dot_circle_o
label.visible.padding = 1;
visible = {
text = " %index%"; # Icon: fa-dot_circle_o
padding = 1;
};
label.urgent.text = " %index%"; # Icon: fa-exclamation_circle
label.urgent.background = "${colors.urgent}";
label.urgent.padding = 1;
urgent = {
text = " %index%"; # Icon: fa-exclamation_circle
background = "${colors.urgent}";
padding = 1;
};
};
};
"module/playerctl" = {
type = "custom/script";
exec = "${polybar-playerctl}/bin/polybar-playerctl";
interval = 1;
click.left = "${polybar-playerctl}/bin/polybar-playerctl play-pause";
click.middle = "${polybar-playerctl}/bin/polybar-playerctl next";
click.right = "${polybar-playerctl}/bin/polybar-playerctl prevous";
click = {
left = "${polybar-playerctl}/bin/polybar-playerctl play-pause";
middle = "${polybar-playerctl}/bin/polybar-playerctl next";
right = "${polybar-playerctl}/bin/polybar-playerctl prevous";
};
format.padding = 2;
scroll.up = "${polybar-playerctl}/bin/polybar-playerctl next-player";
@ -210,11 +224,15 @@ in
"module/date" = {
type = "internal/date";
interval = 1.0;
time.text = " %H:%M:%S";
time.alt = " %a, %d %b %Y";
time = {
text = " %H:%M:%S";
alt = " %a, %d %b %Y";
};
format.text = "<label>";
format.padding = 2;
format = {
text = "<label>";
padding = 2;
};
label.text = "%time%";
};
@ -224,22 +242,28 @@ in
exec = "${headset-battery}";
interval = 1;
format.prefix = " ";
format.padding = 2;
format = {
prefix = " ";
padding = 2;
};
label.text = "%output%";
click.left = "${pkgs.headsetcontrol}/bin/headsetcontrol -s 128";
click.right = "${pkgs.headsetcontrol}/bin/headsetcontrol -s 0";
click = {
left = "${pkgs.headsetcontrol}/bin/headsetcontrol -s 128";
right = "${pkgs.headsetcontrol}/bin/headsetcontrol -s 0";
};
};
"module/memory" = {
type = "internal/memory";
interval = 1;
format.text = "<label>";
format.prefix = "󰍛 "; # Icon: memory
format.padding = 2;
format = {
text = "<label>";
prefix = "󰍛 "; # Icon: memory
padding = 2;
};
label.text = "%mb_used% (%percentage_used%%)";
};
@ -248,9 +272,11 @@ in
type = "internal/cpu";
interval = 1;
format.text = "<label>";
format.prefix = "󰻠 "; # Icon: cpu_64_bit
format.padding = 2;
format = {
text = "<label>";
prefix = "󰻠 "; # Icon: cpu_64_bit
padding = 2;
};
label = "%percentage:3%%";
};
@ -261,17 +287,25 @@ in
use.ui.max = false;
format.volume.text = "<ramp-volume> <label-volume>";
format.volume.padding = 2;
format = {
volume = {
text = "<ramp-volume> <label-volume>";
padding = 2;
};
format.muted.text = "<label-muted>";
format.muted.prefix = "󰖁"; # Icon: volume_off
format.muted.background = "${colors.urgent}";
format.muted.padding = 2;
muted = {
text = "<label-muted>";
prefix = "󰖁"; # Icon: volume_off
background = "${colors.urgent}";
padding = 2;
};
};
label.volume.text = "%percentage%%";
label = {
volume.text = "%percentage%%";
label.muted.text = " Muted";
muted.text = " Muted";
};
ramp.volume = [ "󰕿" "󰖀" "󰕾" ]; # Icons: volume_low volume_medium volume_high
@ -289,18 +323,27 @@ in
accumulate.stats = true;
unknown.as.up = true;
format.connected.text = "<label-connected>";
format.connected.padding = 2;
format = {
connected = {
text = "<label-connected>";
padding = 2;
};
format.disconnected.text = "<label-disconnected>";
format.disconnected.padding = 2;
disconnected = {
text = "<label-disconnected>";
padding = 2;
};
format.packetloss.text = "<animation-packetloss> <label-connected>";
packetloss.text = "<animation-packetloss> <label-connected>";
};
label.connected.text = "󰈀 %local_ip% %upspeed:9% %downspeed:9%"; # Icon: ethernet
label.disconnected.text = "󰲜 %{A1:networkmanager_dmenu &:} Offline%{A}"; # Icon: network_off_outline
label = {
connected.text = "󰈀 %local_ip% %upspeed:9% %downspeed:9%"; # Icon: ethernet
disconnected.text = "󰲜 %{A1:networkmanager_dmenu &:} Offline%{A}"; # Icon: network_off_outline
};
animation.packetloss.text = [
animation = {
packetloss.text = [
{
text = "";
foreground = "${colors.urgent}";
@ -310,7 +353,8 @@ in
foreground = "${colors.foreground}";
}
];
animation.packetloss.framerate = 500;
packetloss.framerate = 500;
};
};
};
};

View file

@ -54,9 +54,6 @@
};
};
services.udev.extraRules = ''
ATTR{address}=="96:00:02:12:a2:eb", NAME="eth0"
'';
### Hetzner stuff
boot = {
@ -77,15 +74,21 @@
system.configurationRevision = self.inputs.nixpkgs.lib.mkIf (self ? rev) self.rev;
services.openssh = {
services = {
udev.extraRules = ''
ATTR{address}=="96:00:02:12:a2:eb", NAME="eth0"
'';
openssh = {
enable = true;
settings = {
PasswordAuthentication = false;
};
};
services.tailscale.enable = true;
tailscale.enable = true;
services.caddy = {
caddy = {
virtualHosts = {
"datarift.nl" = {
extraConfig = ''
@ -101,6 +104,7 @@
};
};
};
};
security.apparmor = {
enable = true;

View file

@ -65,20 +65,22 @@
};
fileSystems."/" = {
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/42065c7e-d0aa-4de8-a913-014cf59d48ac";
fsType = "ext4";
};
fileSystems."/boot" = {
"/boot" = {
device = "/dev/disk/by-uuid/4064-A1BE";
fsType = "vfat";
};
fileSystems."/home" = {
"/home" = {
device = "/dev/disk/by-uuid/082ec5d2-238e-4713-9c37-31b1cb0fb8c3";
fsType = "ext4";
};
};
swapDevices = [{ device = "/dev/disk/by-uuid/d93788f7-1b94-4687-8313-055d17f42b7e"; }];
@ -98,8 +100,7 @@
kernelPackages = pkgs.linuxPackages_latest;
kernelModules = [ "kvm-amd" "apple-mfi-fastcharge" "zenpower" "nf_nat_ftp" ];
kernelParams = [ "amd_pstate.shared_mem=1" ];
extraModulePackages = [ ] ++
(with config.boot.kernelPackages; [ zenpower cpupower ]);
extraModulePackages = with config.boot.kernelPackages; [ zenpower cpupower ];
loader = {
systemd-boot = {
@ -110,20 +111,6 @@
};
};
services.udev = {
extraHwdb = ''
evdev:name:ELECOM TrackBall Mouse HUGE TrackBall:*
ID_INPUT_KEY=1
KEYBOARD_KEY_90008=red
KEYBOARD_KEY_90007=copy
KEYBOARD_KEY_90006=paste
'';
extraRules = ''
ACTION=="add", ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1666", NAME=keys
'';
};
time.timeZone = "Europe/Amsterdam";
networking = {
@ -308,20 +295,43 @@
};
};
services.openssh.enable = true;
# programs.ssh.startAgent = true;
services = {
udev = {
extraHwdb = ''
evdev:name:ELECOM TrackBall Mouse HUGE TrackBall:*
ID_INPUT_KEY=1
KEYBOARD_KEY_90008=red
KEYBOARD_KEY_90007=copy
KEYBOARD_KEY_90006=paste
'';
programs.gnome-disks.enable = true;
extraRules = ''
ACTION=="add", ATTRS{idVendor}=="0951", ATTRS{idProduct}=="1666", NAME=keys
'';
};
services.udisks2 = {
openssh.enable = true;
udisks2 = {
enable = true;
};
services.envfs.enable = true;
services.cpupower-gui.enable = true;
services.tailscale.enable = true;
envfs.enable = true;
cpupower-gui.enable = true;
tailscale.enable = true;
sunshine = {
enable = true;
user = "erwin";
openFirewall = true;
};
programs.gamemode = {
};
programs = {
gnome-disks.enable = true;
# ssh.startAgent = true;
gamemode = {
enable = true;
settings = {
general = {
@ -333,11 +343,6 @@
};
};
};
services.sunshine = {
enable = true;
user = "erwin";
openFirewall = true;
};
powerManagement = {

View file

@ -62,25 +62,27 @@
systemd.enable = true;
};
fileSystems."/" = {
fileSystems = {
"/" = {
device = "/dev/disk/by-label/nixos";
fsType = "ext4";
};
fileSystems."/boot" = {
"/boot" = {
device = "/dev/disk/by-label/boot";
fsType = "vfat";
};
fileSystems."/home" = {
"/home" = {
device = "/dev/disk/by-label/home";
fsType = "ext4";
};
fileSystems."/yocto" = {
"/yocto" = {
device = "/dev/disk/by-label/yocto";
fsType = "ext4";
};
};
swapDevices =
[{ device = "/dev/disk/by-label/swap"; }];
@ -112,8 +114,7 @@
};
kernelModules = [ "kvm-amd" "apple-mfi-fastcharge" "zenpower" ];
# boot.kernelParams = [ "amd_pstate.shared_mem=1" ];
extraModulePackages = [ ] ++
(with config.boot.kernelPackages; [ rtl88x2bu zenpower cpupower ]);
extraModulePackages = with config.boot.kernelPackages; [ rtl88x2bu zenpower cpupower ];
loader = {
systemd-boot = {
enable = true;
@ -237,17 +238,19 @@
};
};
services.openssh.enable = true;
# programs.ssh.startAgent = true;
services.envfs.enable = true;
services.cpupower-gui.enable = true;
services.flatpak.enable = true;
services = {
openssh.enable = true;
services.tailscale.enable = true;
envfs.enable = true;
cpupower-gui.enable = true;
flatpak.enable = true;
tailscale.enable = true;
services.xserver = {
xserver = {
videoDrivers = [ "nvidia" ];
screenSection = ''
@ -267,12 +270,12 @@
};
};
services.nxserver = {
nxserver = {
enable = true;
openFirewall = true;
};
services.icecream.daemon = {
icecream.daemon = {
enable = true;
schedulerHost = "icecream.internal.horus.nu";
@ -280,6 +283,7 @@
openFirewall = false;
openBroadcast = true;
};
};
environment.systemPackages = with pkgs; [
appimage-run

View file

@ -8,14 +8,6 @@ in
home-manager.users.erwin = {
_module.args.flake-inputs = inputs;
programs.home-manager.enable = true;
programs.command-not-found.enable = true;
home.username = "erwin";
home.homeDirectory = "/home/erwin";
home.stateVersion = "23.05";
eboskma = {
programs = {
bat.enable = true;
@ -32,7 +24,16 @@ in
};
};
home.packages = with pkgs; [
programs.home-manager.enable = true;
programs.command-not-found.enable = true;
home = {
username = "erwin";
homeDirectory = "/home/erwin";
stateVersion = "23.05";
packages = with pkgs; [
atool
bottom
btop
@ -42,6 +43,7 @@ in
ripgrep
units
];
};
xdg = {
enable = true;

View file

@ -70,10 +70,11 @@
};
};
services.openssh.enable = true;
services.tailscale.enable = true;
services = {
openssh.enable = true;
tailscale.enable = true;
services.kanata = {
kanata = {
enable = true;
keyboards = {
@ -117,13 +118,14 @@
};
};
services.xserver = {
xserver = {
enable = true;
windowManager.i3 = {
enable = true;
extraPackages = with pkgs; [ i3lock-color ];
};
};
};
security = {
polkit.enable = true;

View file

@ -6,17 +6,6 @@ in
home-manager.users.erwin = {
_module.args.flake-inputs = inputs;
programs.home-manager.enable = true;
programs.command-not-found.enable = true;
home.username = "erwin";
home.homeDirectory = "/home/erwin";
home.sessionVariables = {
EDITOR = "${pkgs.neovim}/bin/neovim";
};
home.stateVersion = "23.05";
eboskma = {
programs = {
alacritty.enable = true;
@ -48,7 +37,16 @@ in
};
};
home.packages = with pkgs;
home = {
username = "erwin";
homeDirectory = "/home/erwin";
sessionVariables = {
EDITOR = "${pkgs.neovim}/bin/neovim";
};
stateVersion = "23.05";
packages = with pkgs;
[
atool
bottom
@ -70,6 +68,7 @@ in
wl-clipboard
zeal
];
};
xdg = {
enable = true;
@ -138,6 +137,11 @@ in
};
};
programs = {
home-manager.enable = true;
command-not-found.enable = true;
};
imports = [
../../modules/options
] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules)));

View file

@ -12,19 +12,20 @@ in
};
config = mkIf cfg.enable {
boot.extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
boot = {
extraModulePackages = [ config.boot.kernelPackages.v4l2loopback ];
# Register a v4l2loopback device at boot
boot.kernelModules = [
kernelModules = [
"v4l2loopback"
];
boot.extraModprobeConfig = ''
extraModprobeConfig = ''
options v4l2loopback max_buffers=2
options v4l2loopback exclusive_caps=1
options v4l2loopback video_nr=10
options v4l2loopback card_label="VirtualCam"
'';
};
environment.systemPackages = with pkgs; [ backscrub ];
};
}

View file

@ -93,7 +93,7 @@ in
};
services.udev = {
packages = [ ] ++ (optional cfg.udev-rules.qmk qmkUdevRules)
packages = (optional cfg.udev-rules.qmk qmkUdevRules)
++ (optional cfg.udev-rules.probe-rs probersRules)
++ (optional cfg.udev-rules.blink1 blink1Rules)
++ (optional cfg.udev-rules.picotool picotoolRules)

View file

@ -45,8 +45,7 @@ in
group = "greeter";
};
"greetd/environments" = {
text = concatStringsSep "\n" ([ ]
++ (optional cfg.sway "${pkgs.sway}/bin/sway")
text = concatStringsSep "\n" ((optional cfg.sway "${pkgs.sway}/bin/sway")
++ [ "${pkgs.bash}/bin/bash" ]);
user = "greeter";
group = "greeter";

View file

@ -7,7 +7,8 @@ in
options.eboskma.klipper = { enable = mkEnableOption "klipper"; };
config = mkIf cfg.enable {
services.klipper = {
services = {
klipper = {
enable = true;
firmwares = {
mcu = {
@ -133,7 +134,7 @@ in
} // (import ./klipper-macros.nix);
};
services.moonraker = {
moonraker = {
enable = true;
allowSystemControl = true;
settings = {
@ -163,10 +164,11 @@ in
};
};
services.mainsail = {
mainsail = {
enable = true;
hostName = config.networking.hostName;
};
};
};
}

View file

@ -9,22 +9,6 @@ in
home-manager.users.erwin = {
_module.args.flake-inputs = inputs;
programs.home-manager.enable = true;
programs.command-not-found.enable = true;
services.blueman-applet.enable = bt.enable;
services.gnome-keyring = {
enable = true;
components = [ "pkcs11" "ssh" "secrets" ];
};
home.username = "erwin";
home.homeDirectory = "/home/erwin";
home.sessionVariables = { };
home.stateVersion = "21.11";
eboskma = {
programs = {
alacritty.enable = false;
@ -132,7 +116,14 @@ in
};
};
home.packages = with pkgs;
home = {
username = "erwin";
homeDirectory = "/home/erwin";
sessionVariables = { };
stateVersion = "21.11";
packages = with pkgs;
[
ardour
atool
@ -183,6 +174,7 @@ in
zeal
]
++ (with gst_all_1; [ gstreamer gstreamer.dev gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav gst-vaapi ]);
};
xdg = {
enable = true;
@ -251,7 +243,20 @@ in
};
};
services.udiskie = {
programs = {
home-manager.enable = true;
command-not-found.enable = true;
};
services = {
blueman-applet.enable = bt.enable;
gnome-keyring = {
enable = true;
components = [ "pkcs11" "ssh" "secrets" ];
};
udiskie = {
enable = true;
tray = "auto";
notify = true;
@ -267,6 +272,7 @@ in
];
};
};
};
imports = [
../../modules/options
@ -277,28 +283,31 @@ in
# OBS control websocket
networking.firewall.allowedTCPPorts = [ 4455 ];
programs.steam = {
programs = {
steam = {
enable = true;
package = pkgs.steam.override {
extraPkgs = sp: with sp; [ gamescope ];
};
};
programs.gamescope = {
gamescope = {
enable = true;
args = [
"--rt"
"--fullscreen"
];
};
programs.bandwhich.enable = true;
programs.noisetorch.enable = true;
bandwhich.enable = true;
noisetorch.enable = true;
services.ddccontrol.enable = true;
programs.wireshark = {
wireshark = {
enable = true;
package = pkgs.wireshark;
};
};
services.ddccontrol.enable = true;
users.groups.wireshark.members = [ "erwin" ];
};
}

View file

@ -8,16 +8,8 @@ in
home-manager.users.erwin = {
_module.args.flake-inputs = inputs;
programs.home-manager.enable = true;
programs.command-not-found.enable = true;
home.username = "erwin";
home.homeDirectory = "/home/erwin";
nixpkgs.config.allowUnfree = true;
home.stateVersion = "23.05";
eboskma = {
programs = {
bat.enable = true;
@ -33,7 +25,19 @@ in
};
};
home.packages = with pkgs; [
programs = {
home-manager.enable = true;
command-not-found.enable = true;
};
home = {
username = "erwin";
homeDirectory = "/home/erwin";
stateVersion = "23.05";
packages = with pkgs; [
atool
bottom
btop
@ -43,6 +47,8 @@ in
ripgrep
units
];
};
xdg = {
enable = true;

View file

@ -24,20 +24,6 @@ in
home-manager.users.erwin = {
_module.args.flake-inputs = inputs;
programs.home-manager.enable = true;
programs.command-not-found.enable = true;
services.gnome-keyring = {
enable = true;
components = [ "pkcs11" "ssh" "secrets" ];
};
home.username = "erwin";
home.homeDirectory = "/home/erwin";
home.sessionVariables = {
# EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
};
eboskma = {
var.workSystem = true;
programs = {
@ -130,8 +116,24 @@ in
xbanish.enable = true;
};
};
programs.home-manager.enable = true;
programs.command-not-found.enable = true;
home.packages = with pkgs; [
services.gnome-keyring = {
enable = true;
components = [ "pkcs11" "ssh" "secrets" ];
};
home = {
username = "erwin";
homeDirectory = "/home/erwin";
sessionVariables = {
# EDITOR = "${config.home-manager.users.erwin.eboskma.programs.emacs.package}/bin/emacsclient -c";
};
stateVersion = "22.11";
packages = with pkgs; [
atool
bitwarden
blink1-tool
@ -175,6 +177,15 @@ in
]
++ (with gst_all_1; [ gstreamer gstreamer.dev gst-plugins-base gst-plugins-good gst-plugins-bad gst-plugins-ugly gst-libav gst-vaapi ]);
pointerCursor = {
name = "elementary";
package = pkgs.pantheon.elementary-gtk-theme;
gtk.enable = true;
x11.enable = true;
};
};
xdg = {
enable = true;
mime.enable = true;
@ -244,31 +255,20 @@ in
};
};
home.pointerCursor = {
name = "elementary";
package = pkgs.pantheon.elementary-gtk-theme;
gtk.enable = true;
x11.enable = true;
};
imports = [
../../modules/options
] ++ (map (mod: (../../home-manager/modules + "/${mod}")) (builtins.attrNames (builtins.readDir ../../home-manager/modules)));
home.stateVersion = "22.11";
};
services.teamviewer.enable = true;
services = {
teamviewer.enable = true;
environment.systemPackages = with pkgs; [
udev.packages = with pkgs; [
headsetcontrol
];
services.udev.packages = with pkgs; [
headsetcontrol
];
services.xserver = {
xserver = {
# layout = "us,us";
# xkbVariant = "colemak,";
# xkbModel = "pc105";
@ -282,13 +282,20 @@ in
extraPackages = with pkgs; [ i3lock-color ];
};
};
};
programs.bandwhich.enable = true;
programs = {
bandwhich.enable = true;
programs.wireshark = {
wireshark = {
enable = true;
package = pkgs.wireshark;
};
};
users.groups.wireshark.members = [ "erwin" ];
environment.systemPackages = with pkgs; [
headsetcontrol
];
};
}