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