feat: migrate dev environment to dot013/environment
This commit is contained in:
@@ -6,12 +6,16 @@
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.dot013-environment.nixosModules.default
|
||||
../../modules/nixos
|
||||
./secrets.nix
|
||||
./gpu-configuration.nix
|
||||
./hardware-configuration.nix
|
||||
];
|
||||
|
||||
dot013.environment.enable = true;
|
||||
dot013.environment.interception-tools.device = "/dev/input/by-id/usb-BY_Tech_Gaming_Keyboard-event-kbd";
|
||||
|
||||
programs.nh.enable = true;
|
||||
programs.nh.flake = "/home/guz/nix";
|
||||
|
||||
@@ -98,10 +102,6 @@
|
||||
extraGroups = ["wheel" "networkmanager" "plugdev"];
|
||||
};
|
||||
|
||||
environment.sessionVariables = {
|
||||
EDITOR = "nvim";
|
||||
};
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
git
|
||||
libinput
|
||||
@@ -112,24 +112,6 @@
|
||||
services.blueman.enable = true;
|
||||
# hardware.pulseaudio.enable = true;
|
||||
|
||||
services.interception-tools = let
|
||||
device = "/dev/input/by-id/usb-BY_Tech_Gaming_Keyboard-event-kbd";
|
||||
in {
|
||||
enable = true;
|
||||
plugins = [pkgs.interception-tools-plugins.caps2esc];
|
||||
udevmonConfig = ''
|
||||
- JOB: "${pkgs.interception-tools}/bin/intercept -g ${device} | ${pkgs.interception-tools-plugins.caps2esc}/bin/caps2esc -m 2 | ${pkgs.interception-tools}/bin/uinput -d ${device}"
|
||||
DEVICE:
|
||||
EVENTS:
|
||||
EV_KEY: [[KEY_CAPSLOCK, KEY_ESC]]
|
||||
LINK: ${device}
|
||||
'';
|
||||
};
|
||||
|
||||
environment.pathsToLink = [" /share/zsh "];
|
||||
|
||||
programs.zsh.enable = true;
|
||||
|
||||
nix.settings.experimental-features = ["nix-command" "flakes"];
|
||||
nix.package = pkgs.nixVersions.nix_2_21;
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
programs.hyprland.settings = let
|
||||
cliphist = "${pkgs.cliphist}/bin/cliphist";
|
||||
librewolf = "${pkgs.librewolf}/bin/librewolf";
|
||||
terminal = "${config.profiles.gterminal.emulator.bin}";
|
||||
terminal = "${config.programs.alacritty.package}/bin/alacritty";
|
||||
mod = "SUPER";
|
||||
rofi = "${pkgs.rofi}/bin/rofi";
|
||||
grim = "${pkgs.grim}/bin/grim";
|
||||
|
||||
@@ -6,8 +6,6 @@
|
||||
../../modules/home-manager/programs-old/librewolf
|
||||
];
|
||||
|
||||
profiles.gterminal.enable = true;
|
||||
profiles.gterminal.sessionizer.paths = ["~/.projects"];
|
||||
profiles.vault.enable = true;
|
||||
profiles.gfonts.enable = true;
|
||||
|
||||
|
||||
@@ -2,15 +2,18 @@
|
||||
config,
|
||||
pkgs,
|
||||
inputs,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
imports = [
|
||||
inputs.dot013-environment.homeManagerModule
|
||||
inputs.rec-sh.homeManagerModules.rec-sh
|
||||
];
|
||||
|
||||
programs.rec-sh.enable = true;
|
||||
|
||||
dot013.environment.enable = true;
|
||||
dot013.environment.tmux.sessionizer.paths = ["~/.projects"];
|
||||
|
||||
programs.brave.enable = true;
|
||||
programs.brave.extensions = [
|
||||
{id = "cjpalhdlnbpafiamejdnhcphjbkeiagm";}
|
||||
|
||||
Reference in New Issue
Block a user