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
|
||||
# README - https://wiki.nixos.org/wiki/VR
|
||||
flake.nixosModules.virtual-reality =
|
||||
{ pkgs, user, ... }:
|
||||
|
||||
{
|
||||
pkgs,
|
||||
user,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
|
||||
|
|
@ -87,23 +93,23 @@
|
|||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
# physical input
|
||||
users.users = {
|
||||
serenity.extraGroups = [ "input" ];
|
||||
};
|
||||
users.users.serenity.extraGroups = [ "input" ];
|
||||
|
||||
# hand tracking
|
||||
home-manager.users = {
|
||||
serenity = {
|
||||
# avoids downloading large files directly
|
||||
programs.git.lfs.enable = true;
|
||||
# copies lfs pointers for tracking models into config dir
|
||||
# disabled for now
|
||||
#home.file = ".local/share/monado/hand-tracking-models".source = pkgs.fetchgit {
|
||||
#url = "https://gitlab.freedesktop.org/monado/utilities/hand-tracking-models";
|
||||
#sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
#fetchLFS = true;
|
||||
#};
|
||||
};
|
||||
home-manager.users.serenity = {
|
||||
# avoids downloading large files directly
|
||||
programs.git.lfs.enable = true;
|
||||
# copies lfs pointers for tracking models into config dir
|
||||
# disabled for now
|
||||
# home.file."/home/serenity/.local/share/monado/hand-tracking-models" = {
|
||||
# target = "/home/serenity/.local/share/monado/hand-tracking-models";
|
||||
# source = builtIns.fetchGit = {
|
||||
# url = "https://gitlab.freedesktop.org/monado/utilities/hand-tracking-models.git";
|
||||
# sha256 = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
|
||||
# fetchLFS = true;
|
||||
# };
|
||||
# recursive = true;
|
||||
# };
|
||||
};
|
||||
|
||||
# extra packages for vr
|
||||
|
|
|
|||
|
|
@ -2,17 +2,35 @@
|
|||
|
||||
{
|
||||
|
||||
# install helper module
|
||||
flake.nixosModules.installer =
|
||||
|
||||
{ lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
|
||||
# for home manager functionality
|
||||
imports = [ inputs.home-manager.nixosModules.home-manager ];
|
||||
|
||||
# custom calamares
|
||||
environment.systemPackages = with pkgs; [
|
||||
#calamares
|
||||
calamares-nixos
|
||||
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