tweak: installer options
This commit is contained in:
parent
71daa8581c
commit
3cbedace2a
2 changed files with 41 additions and 17 deletions
|
|
@ -79,7 +79,13 @@
|
||||||
# virtual reality module declaration
|
# virtual reality module declaration
|
||||||
# README - https://wiki.nixos.org/wiki/VR
|
# README - https://wiki.nixos.org/wiki/VR
|
||||||
flake.nixosModules.virtual-reality =
|
flake.nixosModules.virtual-reality =
|
||||||
{ pkgs, user, ... }:
|
|
||||||
|
{
|
||||||
|
pkgs,
|
||||||
|
user,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
@ -87,23 +93,23 @@
|
||||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
|
|
||||||
# physical input
|
# physical input
|
||||||
users.users = {
|
users.users.serenity.extraGroups = [ "input" ];
|
||||||
serenity.extraGroups = [ "input" ];
|
|
||||||
};
|
|
||||||
|
|
||||||
# hand tracking
|
# hand tracking
|
||||||
home-manager.users = {
|
home-manager.users.serenity = {
|
||||||
serenity = {
|
|
||||||
# avoids downloading large files directly
|
# avoids downloading large files directly
|
||||||
programs.git.lfs.enable = true;
|
programs.git.lfs.enable = true;
|
||||||
# copies lfs pointers for tracking models into config dir
|
# copies lfs pointers for tracking models into config dir
|
||||||
# disabled for now
|
# disabled for now
|
||||||
#home.file = ".local/share/monado/hand-tracking-models".source = pkgs.fetchgit {
|
# home.file."/home/serenity/.local/share/monado/hand-tracking-models" = {
|
||||||
#url = "https://gitlab.freedesktop.org/monado/utilities/hand-tracking-models";
|
# target = "/home/serenity/.local/share/monado/hand-tracking-models";
|
||||||
#sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
# source = builtIns.fetchGit = {
|
||||||
#fetchLFS = true;
|
# url = "https://gitlab.freedesktop.org/monado/utilities/hand-tracking-models.git";
|
||||||
#};
|
# sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||||
};
|
# fetchLFS = true;
|
||||||
|
# };
|
||||||
|
# recursive = true;
|
||||||
|
# };
|
||||||
};
|
};
|
||||||
|
|
||||||
# extra packages for vr
|
# extra packages for vr
|
||||||
|
|
|
||||||
|
|
@ -2,17 +2,35 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
# install helper module
|
||||||
flake.nixosModules.installer =
|
flake.nixosModules.installer =
|
||||||
|
|
||||||
{ lib, pkgs, ... }:
|
{ lib, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
|
||||||
|
# for home manager functionality
|
||||||
|
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||||
|
|
||||||
|
# custom calamares
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
#calamares
|
|
||||||
calamares-nixos
|
calamares-nixos
|
||||||
calamares-nixos-extensions
|
calamares-nixos-extensions
|
||||||
];
|
];
|
||||||
|
|
||||||
|
home-manager.users.serenity = {
|
||||||
|
|
||||||
|
home.file."flake-repo" = {
|
||||||
|
source = fetchGit {
|
||||||
|
url = "https://codeberg.org/serenity-F/SerenityOS.git";
|
||||||
|
# sha256 = sha;
|
||||||
|
};
|
||||||
|
target = /home/serenity/flake-repo;
|
||||||
|
recursive = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue