From 06b4ecb70e1d74e8b2db43fd8debce36aa8e4db3 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Thu, 14 Sep 2023 11:54:51 +0200 Subject: [PATCH] add yodaYoga --- hosts/yodaYoga/configuration.nix | 50 +++++++++++++++++++++++ hosts/yodaYoga/hardware-configuration.nix | 3 ++ modules/yodaYoga.nix | 10 +++++ 3 files changed, 63 insertions(+) create mode 100644 hosts/yodaYoga/configuration.nix create mode 100644 hosts/yodaYoga/hardware-configuration.nix create mode 100644 modules/yodaYoga.nix diff --git a/hosts/yodaYoga/configuration.nix b/hosts/yodaYoga/configuration.nix new file mode 100644 index 0000000..8be1602 --- /dev/null +++ b/hosts/yodaYoga/configuration.nix @@ -0,0 +1,50 @@ +# 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`). + +{ config, pkgs, ... }: +let + # Import Home Manager with niv. + home-manager = (import ../../nix/sources.nix).home-manager; +in +{ + # Paths to other modules. + # Compose this module out of smaller ones. + # https://nixos.wiki/wiki/NixOS_modules + imports = + [ + # Include the results of the hardware scan. + ./hardware-configuration.nix + # Home Manager. + (import "${home-manager}/nixos") + ../../modules/home-manager.nix + # NUR. + ../../modules/nur.nix + # Device specific. + ../../modules/yodaYoga.nix + + ../../modules/base.nix + #../../modules/base-gnome.nix + #../../modules/programs.nix + #../../modules/autostart.nix + #../../modules/wallpaper.nix + #../../modules/fwupd-gnome.nix + #../../modules/print-and-scan.nix + #../../modules/fde-ssh-unlock.nix + #../../modules/nextcloud-integration.nix + + #../../modules/gnome-config.nix + #../../modules/gnome-extensions.nix + #../../modules/gnome-fractional-scaling.nix + #../../modules/git.nix + ../../modules/zsh.nix + #../../modules/nitrokey-gpg-smartcard.nix + ../../modules/ssh.nix + #../../modules/firefox.nix + #../../modules/thunderbird.nix + #../../modules/digikam.nix + #../../modules/android.nix + ]; + + networking.hostName = "yodaYoga"; +} diff --git a/hosts/yodaYoga/hardware-configuration.nix b/hosts/yodaYoga/hardware-configuration.nix new file mode 100644 index 0000000..9d1c556 --- /dev/null +++ b/hosts/yodaYoga/hardware-configuration.nix @@ -0,0 +1,3 @@ +{ config, lib, pkgs, modulesPath, ... }: +{ +} diff --git a/modules/yodaYoga.nix b/modules/yodaYoga.nix new file mode 100644 index 0000000..f84aae7 --- /dev/null +++ b/modules/yodaYoga.nix @@ -0,0 +1,10 @@ +{ config, pkgs, ... }: + +{ + home-manager.users.yoda = { osConfig, config, pkgs, ... }: { + home.file."readonly-git/BikeTripPlanner".source = (builtins.fetchGit { + url = "https://github.com/langbein-daniel/BikeTripPlanner"; + #leaveDotGit = true; + }); + }; +}