This commit is contained in:
mjallen18
2025-12-19 17:05:58 -06:00
parent 1280cf9939
commit abdeddf751
7 changed files with 16 additions and 76 deletions

View File

@@ -6,12 +6,6 @@
}: }:
let let
inherit (lib.${namespace}) enabled disabled; inherit (lib.${namespace}) enabled disabled;
shellAliases = {
update-boot = "sudo nixos-rebuild boot --max-jobs 10 --build-host admin@10.0.1.3";
update-switch = "sudo nixos-rebuild switch --max-jobs 10 --build-host admin@10.0.1.3";
update-flake = "nix flake update mac-nixpkgs mac-nixos-apple-silicon mac-home-manager mac-impermanence mac-sops-nix --flake /etc/nixos";
update-nas = "nixos-rebuild switch --use-remote-sudo --target-host admin@10.0.1.3 --build-host admin@10.0.1.3 --flake ~/nix-config#jallen-nas";
};
# Displays # Displays
display = { display = {
input = "eDP-1"; input = "eDP-1";
@@ -142,7 +136,5 @@ in
programs = { programs = {
password-store = enabled; password-store = enabled;
zsh.shellAliases = shellAliases;
}; };
} }

View File

@@ -5,21 +5,6 @@ in
{ {
home.username = "matt"; home.username = "matt";
${namespace} = {
shell-aliases = {
enable = true;
flakeInputs = [
"pi4-nixpkgs"
"pi4-home-manager"
"pi4-impermanence"
"pi4-sops-nix"
"pi4-nixos-hardware"
"pi4-nixos-raspberrypi"
"pi4-disko"
];
};
};
sops = { sops = {
age.keyFile = "/home/matt/.config/sops/age/keys.txt"; age.keyFile = "/home/matt/.config/sops/age/keys.txt";
defaultSopsFile = "/etc/nixos/secrets/secrets.yaml"; defaultSopsFile = "/etc/nixos/secrets/secrets.yaml";

View File

@@ -6,13 +6,6 @@
}: }:
let let
inherit (lib.${namespace}) enabled disabled; inherit (lib.${namespace}) enabled disabled;
shellAliases = {
update-boot = "sudo nixos-rebuild boot --max-jobs 10 --build-host admin@10.0.1.3";
update-switch = "sudo nixos-rebuild switch --max-jobs 10 --build-host admin@10.0.1.3";
update-flake = "nix flake update pi5-nixpkgs pi5-home-manager pi5-impermanence pi5-nixos-hardware pi5-sops-nix nixos-raspberrypi --flake /etc/nixos";
update-nas = "nixos-rebuild switch --use-remote-sudo --target-host admin@10.0.1.3 --build-host admin@10.0.1.3 --flake ~/nix-config#jallen-nas";
nas-ssh = "kitten ssh admin@10.0.1.3";
};
in in
{ {
@@ -57,10 +50,6 @@ in
}; };
}; };
programs = {
zsh.shellAliases = shellAliases;
};
services = { services = {
nextcloud-client = lib.mkForce disabled; nextcloud-client = lib.mkForce disabled;
kdeconnect = { kdeconnect = {

View File

@@ -4,20 +4,6 @@
${namespace} = { ${namespace} = {
sops.enable = true; sops.enable = true;
shell-aliases = {
enable = true;
buildHost = ""; # NAS builds locally
flakeInputs = [
"nas-nixpkgs"
"nas-authentik-nix"
"nas-cosmic"
"nas-home-manager"
"nas-impermanence"
"nas-lanzaboote"
"nas-nixos-hardware"
"nas-sops-nix"
];
};
}; };
sops = { sops = {

View File

@@ -1,12 +1,6 @@
{ lib, pkgs, namespace, ... }: { lib, pkgs, namespace, ... }:
let let
inherit (lib.${namespace}) enabled disabled; inherit (lib.${namespace}) enabled disabled;
shellAliases = {
update-boot = "sudo nixos-rebuild boot --max-jobs 10 --build-host admin@10.0.1.3";
update-switch = "sudo nixos-rebuild switch --max-jobs 10";
update-flake = "nix flake update steamdeck-nixpkgs steamdeck-chaotic steamdeck-home-manager steamdeck-impermanence steamdeck-jovian steamdeck-lanzaboote steamdeck-nixos-hardware steamdeck-sops-nix steamdeck-steam-rom-manager --flake /etc/nixos";
nas-ssh = "ssh admin@10.0.1.3";
};
in in
{ {
home.username = "deck"; home.username = "deck";
@@ -69,8 +63,6 @@ in
}; };
}; };
}; };
zsh.shellAliases = shellAliases;
}; };
home.packages = with pkgs; [ home.packages = with pkgs; [

View File

@@ -23,7 +23,7 @@ let
# schemeVariants = [ iconScheme ]; # schemeVariants = [ iconScheme ];
# colorVariants = [ iconThemeVariant ]; # colorVariants = [ iconThemeVariant ];
# }; # };
isDarwin = system == "aarch64_darwin"; isDarwin = system == "aarch64-darwin";
in in
{ {
stylix = { stylix = {

View File

@@ -18,6 +18,21 @@ in
# Configure programs # Configure programs
programs.steam = { programs.steam = {
enable = true; enable = true;
package = pkgs.steam.override {
extraPkgs =
_pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
# Open ports in the firewall for Steam Remote Play # Open ports in the firewall for Steam Remote Play
remotePlay.openFirewall = true; remotePlay.openFirewall = true;
# Open ports in the firewall for Source Dedicated Server # Open ports in the firewall for Source Dedicated Server
@@ -65,24 +80,5 @@ in
STEAM_FORCE_DESKTOPUI_SCALING = "1.0"; STEAM_FORCE_DESKTOPUI_SCALING = "1.0";
}; };
}; };
# Configure nixpkgs
nixpkgs.config.packageOverrides = pkgs: {
steam = pkgs.steam.override {
extraPkgs =
_pkgs: with pkgs; [
xorg.libXcursor
xorg.libXi
xorg.libXinerama
xorg.libXScrnSaver
libpng
libpulseaudio
libvorbis
stdenv.cc.cc.lib
libkrb5
keyutils
];
};
};
}; };
} }