From 4614230c567ce73a695c162fa8523d1259cc4ada Mon Sep 17 00:00:00 2001 From: moons-14 Date: Sun, 16 Nov 2025 14:42:01 +0900 Subject: [PATCH] add host --- flake.nix | 18 ++++++++++++------ hosts/dev-1/default.nix | 12 ++++++++++++ modules/home/wallpaper.nix | 6 +++--- 3 files changed, 27 insertions(+), 9 deletions(-) create mode 100644 hosts/dev-1/default.nix diff --git a/flake.nix b/flake.nix index d2c8f06..2a3199c 100644 --- a/flake.nix +++ b/flake.nix @@ -65,12 +65,18 @@ profile = "cli"; extraModules = [ ]; }; - x1g13 = mkSystem { - host = "x1g13"; - system = "x86_64-linux"; - profile = "laptop"; - extraModules = [ ]; - }; + x1g13 = mkSystem { + host = "x1g13"; + system = "x86_64-linux"; + profile = "laptop"; + extraModules = [ ]; + }; + dev-1 = mkSystem { + host = "dev-1"; + system = "x86_64-linux"; + profile = "cli"; + extraModules = [ ]; + }; }; devShells = { diff --git a/hosts/dev-1/default.nix b/hosts/dev-1/default.nix new file mode 100644 index 0000000..ab410b5 --- /dev/null +++ b/hosts/dev-1/default.nix @@ -0,0 +1,12 @@ +# Edit this configuration file to define what should be installed on +# your system. Help is available in the configuration.nix(5) man page +# and in the NixOS manual (accessible by running ‘nixos-help’). + +{ ... }: + +{ + imports = + [ + # ./hardware-configuration.nix + ]; +} diff --git a/modules/home/wallpaper.nix b/modules/home/wallpaper.nix index a90723c..367bf0c 100644 --- a/modules/home/wallpaper.nix +++ b/modules/home/wallpaper.nix @@ -1,10 +1,10 @@ -{ pkgs, ... }: +{ pkgs, lib, ... }: let walls = pkgs.fetchFromGitHub { owner = "moons-14"; repo = "wallpapers"; - rev = "a126b57cb271931b96f7e984728c95ffb104eda0"; - hash = "sha256-BATc1Gg73pBCMem/32IQ3c2avJT1DOLANtLZbLbTka0="; + rev = "7bb2bd7b904c497de8ceeb0213e0e9d513c8bd06"; + hash = "sha256-/Q8tiV7iegm366/7sfJv2ze7rRNriaQilvpK+91krVY="; }; in { home.file.".wallpapers" = {