Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
Signed-off-by: Maximilian Huber <[email protected]>
  • Loading branch information
maxhbr committed Oct 23, 2024
1 parent b5973aa commit 4e188d7
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 48 deletions.
6 changes: 6 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,7 @@
({ pkgs, myconfig, ... }: {
imports = [
(myconfig.metadatalib.announceHost "x1extremeG2")
(myconfig.metadatalib.announceHost "spare")
(myconfig.metadatalib.announceHost "workstation")
(myconfig.metadatalib.announceHost "nas")
(myconfig.metadatalib.announceHost "vserver")
Expand All @@ -234,6 +235,10 @@
};
})
] ++ moreModules) metadataOverride);
host-spare = moreModules: metadataOverride:
(self.lib.evalConfiguration "x86_64-linux" "spare" ([
self.nixosModules.core
] ++ moreModules) metadataOverride);
host-x1extremeG2 = moreModules: metadataOverride:
(self.lib.evalConfiguration "x86_64-linux" "x1extremeG2" ([
{ config = { hardware.enableRedistributableFirmware = true; }; }
Expand Down Expand Up @@ -268,6 +273,7 @@

nixosConfigurations = {
p14 = self.nixosConfigurationsGen.host-p14 [ ] { };
spare = self.nixosConfigurationsGen.host-spare [ ] { };
# x1extremeG2 = self.nixosConfigurationsGen.host-x1extremeG2 [ ] { };
workstation = self.nixosConfigurationsGen.host-workstation [ ] { };
vserver = self.nixosConfigurationsGen.host-vserver [ ] { };
Expand Down
45 changes: 0 additions & 45 deletions hosts/host.spare/streamcam.nix

This file was deleted.

2 changes: 1 addition & 1 deletion modules/myconfig.desktop.fonts.nix
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
# liberation_ttf
mplus-outline-fonts.githubRelease
noto-fonts
noto-fonts-cjk
noto-fonts-cjk-sans
noto-fonts-emoji
proggyfonts
roboto
Expand Down
4 changes: 2 additions & 2 deletions scripts/bootstrap.nixos-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ fi

installBuiltSystem() {
local target="$1"
local outLink="/tmp/systemOutLink"
local outLink='../result.'"$target"

set -x

nix build \
-L \
--fallback \
--log-format bar-with-logs \
--out-link '../result.'"$target" \
--out-link "$outLink" \
'.#nixosConfigurations.'"$target"'.config.system.build.toplevel'

sudo nixos-install --no-root-passwd --system "$outLink"
Expand Down

0 comments on commit 4e188d7

Please sign in to comment.