move features not needed on laptop to be controlled with options

This commit is contained in:
greyweather committed 2026-08-31 14:48:40 +01:00
1 parent d8005f7871
commit bb831e45d7
7 files changed
+83 -31

No files matched your search

+7 -3
View File
@@ -1,12 +1,16 @@
{ inputs, self, ... }: {
flake.homeModules.kitagawa = { config, pkgs, ... }: {
flake.homeModules.kitagawa = { config, pkgs, ... }: let
mkConfigCommand = args: "zsh -c 'cd ${config.info.rootPath}; git add .; nh os switch ${args}'";
in {
programs.zsh.shellAliases = {
wake-takamaki = "ssh sakamoto .local/bin/wake-takamaki";
shutdown-takamaki = "ssh takamaki universal-shutdown";
reboot-takamaki = "ssh takamaki universal-reboot";
switch-takamaki-os = "ssh takamaki switch-os";
apply-config = "zsh -c 'cd ${config.info.rootPath}; git add .; nh os switch .'";
update-system = "zsh -c 'cd ${config.info.rootPath}; git add .; nh os switch -u .'";
apply-config = mkConfigCommand "";
remote-build-config = mkConfigCommand "-j 0";
trace-config = mkConfigCommand "-t";
update-config = mkConfigCommand "-u";
};
};
}
+1 -2
View File
@@ -77,8 +77,6 @@
openFirewall = true;
};
hardware.steam-hardware.enable = true;
boot = {
# Enable "Silent boot"
consoleLogLevel = 3;
@@ -94,6 +92,7 @@
flake.homeModules.kitagawa = { config, pkgs, inputs, lib, ... }: {
imports = with self.homeModules; [
global
audio
graphics
];
+10 -18
View File
@@ -8,20 +8,12 @@
extraSpecialArgs = { inherit inputs; };
};
flake.homeModules."grey@takamaki" = { pkgs, config, lib, ... }: let
pkgsCross = import inputs.nixpkgs {
localSystem = "x86_64-linux";
hostSystem = "x86_64-linux";
crossSystem = "i686-linux";
};
steam-overriden-desktop-file = pkgs.runCommand "modifySteamDesktopFile" {} ''
sed 's@Exec=/usr/bin/steam@Exec=env LD_PRELOAD=${pkgsCross.extest}/lib/libextest.so /usr/bin/steam@' ${self}/assets/steam.desktop.example > $out
'';
in {
flake.homeModules."grey@takamaki" = { pkgs, config, lib, ... }: {
imports = with self.homeModules; [
global
audio
graphics
gaming
];
info = {
@@ -37,13 +29,6 @@
'';
};
xdg.dataFile."applications/steam.desktop".source = steam-overriden-desktop-file;
xdg.configFile."autostart/steam.desktop" = {
source = steam-overriden-desktop-file;
force = true;
};
components = {
windowManagers = "niri";
shells = "noctalia";
@@ -59,6 +44,10 @@
easyeffects.enable = true;
};
hardware = {
steam-controller.enable = true;
};
applications = {
cli = {
fastfetch.enable = true;
@@ -68,7 +57,10 @@
gui = {
vscode.enable = true;
equibop.enable = true;
equibop = {
enable = true;
autostart = true;
};
kitty.enable = true;
spotify = {
enable = true;