Make hardware-configuration.nix host specific
This commit is contained in:
@ -7,12 +7,12 @@
|
||||
{
|
||||
imports =
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
./pewter-hardware-configuration.nix
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
nix.settings.experimental-features = [ "nix-command" "flakes" ];
|
||||
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
@ -138,15 +138,15 @@
|
||||
|
||||
# Install firefox.
|
||||
# programs.firefox.enable = true;
|
||||
|
||||
|
||||
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
|
||||
|
||||
# url = "https://gitlab.freedesktop.org/monado/monado/-/merge_requests/2425.diff";
|
||||
# hash = sha256-572a968fda55d9fabd22ab94f8bc1bbdadb4ac21fbe2bf927d05fbf00d9a0e42
|
||||
|
||||
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
@ -164,11 +164,11 @@
|
||||
zenity
|
||||
htop
|
||||
|
||||
|
||||
|
||||
# lemonake.packages.${pkgs.system}.wayvr-dashboard-git
|
||||
|
||||
(monado.overrideAttrs (oldAttrs: rec {
|
||||
|
||||
|
||||
src = fetchFromGitLab {
|
||||
domain = "gitlab.freedesktop.org";
|
||||
owner = "monado";
|
||||
@ -184,9 +184,9 @@
|
||||
# ];
|
||||
}));
|
||||
];
|
||||
|
||||
|
||||
#
|
||||
|
||||
#
|
||||
# github:PassiveLemon/lemonake/master/pkgs/wayvr-dashboard
|
||||
|
||||
# Some programs need SUID wrappers, can be configured further or are
|
||||
@ -227,7 +227,7 @@
|
||||
(pkgs.lib.cmakeBool "XRT_HAVE_OPENCV" false)
|
||||
];
|
||||
});
|
||||
|
||||
|
||||
|
||||
services.monado = {
|
||||
enable = true;
|
||||
|
||||
Reference in New Issue
Block a user