Add missed imports

This commit is contained in:
Jimbo 2024-09-23 16:36:46 -04:00
parent 7759fd1fa9
commit cebc7be1bf
58 changed files with 15 additions and 23 deletions

View file

@ -1,5 +1,6 @@
{ {
d1 = ''DP-3''; d1 = "DP-3";
d2 = ''DP-1''; d2 = "DP-1";
d3 = ''DP-2''; d3 = "DP-2";
dI = "eDP-1";
} }

View file

@ -87,7 +87,7 @@
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = {inherit inputs outputs;}; extraSpecialArgs = {inherit inputs outputs;};
modules = [ modules = [
./home-manager/jimbo_desktop.nix ./home/jimbo_desktop.nix
nur.nixosModules.nur nur.nixosModules.nur
]; ];
}; };
@ -95,14 +95,14 @@
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = {inherit inputs outputs;}; extraSpecialArgs = {inherit inputs outputs;};
modules = [ modules = [
./home-manager/jimbo_server.nix ./home/jimbo_server.nix
]; ];
}; };
"jimbo@JimPine" = home-manager.lib.homeManagerConfiguration { "jimbo@JimPine" = home-manager.lib.homeManagerConfiguration {
pkgs = nixpkgs.legacyPackages.aarch64-linux; pkgs = nixpkgs.legacyPackages.aarch64-linux;
extraSpecialArgs = {inherit inputs outputs;}; extraSpecialArgs = {inherit inputs outputs;};
modules = [ modules = [
./home-manager/jimbo_pinebook.nix ./home/jimbo_pinebook.nix
nur.nixosModules.nur nur.nixosModules.nur
]; ];
}; };
@ -110,7 +110,7 @@
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = {inherit inputs outputs;}; extraSpecialArgs = {inherit inputs outputs;};
modules = [ modules = [
./home-manager/jimbo_lenovo.nix ./home/jimbo_lenovo.nix
nur.nixosModules.nur nur.nixosModules.nur
]; ];
}; };
@ -119,7 +119,7 @@
pkgs = nixpkgs.legacyPackages.x86_64-linux; pkgs = nixpkgs.legacyPackages.x86_64-linux;
extraSpecialArgs = {inherit inputs outputs;}; extraSpecialArgs = {inherit inputs outputs;};
modules = [ modules = [
./home-manager/jimbo_ssh.nix ./home/jimbo_ssh.nix
]; ];
}; };
}; };

View file

Before

Width:  |  Height:  |  Size: 86 KiB

After

Width:  |  Height:  |  Size: 86 KiB

View file

Before

Width:  |  Height:  |  Size: 2 MiB

After

Width:  |  Height:  |  Size: 2 MiB

View file

Before

Width:  |  Height:  |  Size: 2.3 MiB

After

Width:  |  Height:  |  Size: 2.3 MiB

View file

Before

Width:  |  Height:  |  Size: 1.9 MiB

After

Width:  |  Height:  |  Size: 1.9 MiB

View file

Before

Width:  |  Height:  |  Size: 314 KiB

After

Width:  |  Height:  |  Size: 314 KiB

View file

@ -125,9 +125,7 @@
}; };
home.packages = let home.packages = let
# All my rofi scripts in one file # All my rofi scripts in one file
rofiScripts = let rofiScripts = pkgs.writeScriptBin "rofiscripts" ''
displays = import ../common/displays.nix;
in pkgs.writeScriptBin "rofiscripts" ''
# Scratchpad function # Scratchpad function
handle_scratchpads() { handle_scratchpads() {
SCRATCHPADS=$(echo -e "Gotop\nMusic\nSound\nEasyEffects" | rofi -dmenu -i -p "Scratchpads") SCRATCHPADS=$(echo -e "Gotop\nMusic\nSound\nEasyEffects" | rofi -dmenu -i -p "Scratchpads")

View file

@ -1,6 +1,4 @@
let {outputs, ...}: {
displays = import ./common/displays.nix;
in {
imports = [ imports = [
# Common modules # Common modules
./home.nix ./home.nix
@ -35,5 +33,5 @@ in {
./services/udiskie.nix ./services/udiskie.nix
]; ];
wayland.windowManager.sway.config.output.${displays.dTouch}.scale = "1.3"; wayland.windowManager.sway.config.output.${outputs.displays.dI}.scale = "1.3";
} }

View file

@ -7,9 +7,7 @@
# Rebuild this entire system # Rebuild this entire system
programs.zsh = { programs.zsh = {
shellAliases = let shellAliases = {
auth = import ./common/auth.nix;
in {
sshswitch = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'"; sshswitch = "home-manager switch --flake ~/.home-manager/.#jimbo@SSH --extra-experimental-features 'nix-command flakes'";
}; };
}; };

View file

@ -1,7 +1,6 @@
{config, pkgs, outputs, ...}: { {config, pkgs, outputs, ...}: {
wayland.windowManager.sway = { wayland.windowManager.sway = {
config = let config = let
colors = import ../common/colors.nix;
# Set default modifier and variables # Set default modifier and variables
primeMod = "Mod4"; primeMod = "Mod4";
secMod = "Mod1"; secMod = "Mod1";

View file

@ -1,12 +1,10 @@
{outputs, ...}: let {outputs, ...}: {
ips = import ../modules/ips.nix;
in {
networking.firewall = { networking.firewall = {
allowedUDPPorts = [ 51820 ]; allowedUDPPorts = [ 51820 ];
}; };
networking.wireguard.interfaces = { networking.wireguard.interfaces = {
"${ips.wgInt}" = { "${outputs.ips.wgInt}" = {
# Define IP of client in per device config # Define IP of client in per device config
listenPort = 51820; listenPort = 51820;
privateKey = outputs.secrets.wgClientPriv; privateKey = outputs.secrets.wgClientPriv;