mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-13 05:05:29 +03:00
Revert "installer: Disable udisks"
This reverts commit 571fb74f44
.
The dependency on gtk2 was removed.
Co-authored-by: Florian Klink <flokli@flokli.de>
This commit is contained in:
parent
3d832dee59
commit
ec6224b6cd
3 changed files with 1 additions and 9 deletions
|
@ -31,9 +31,6 @@ with lib;
|
||||||
# Let the user play Rogue on TTY 8 during the installation.
|
# Let the user play Rogue on TTY 8 during the installation.
|
||||||
#services.rogue.enable = true;
|
#services.rogue.enable = true;
|
||||||
|
|
||||||
# Disable some other stuff we don't need.
|
|
||||||
services.udisks2.enable = mkDefault false;
|
|
||||||
|
|
||||||
# Use less privileged nixos user
|
# Use less privileged nixos user
|
||||||
users.users.nixos = {
|
users.users.nixos = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
|
|
|
@ -54,8 +54,6 @@ let
|
||||||
|
|
||||||
hardware.enableAllFirmware = lib.mkForce false;
|
hardware.enableAllFirmware = lib.mkForce false;
|
||||||
|
|
||||||
services.udisks2.enable = lib.mkDefault false;
|
|
||||||
|
|
||||||
${replaceChars ["\n"] ["\n "] extraConfig}
|
${replaceChars ["\n"] ["\n "] extraConfig}
|
||||||
}
|
}
|
||||||
'';
|
'';
|
||||||
|
@ -295,8 +293,6 @@ let
|
||||||
++ optional (bootLoader == "grub" && grubVersion == 1) pkgs.grub
|
++ optional (bootLoader == "grub" && grubVersion == 1) pkgs.grub
|
||||||
++ optionals (bootLoader == "grub" && grubVersion == 2) [ pkgs.grub2 pkgs.grub2_efi ];
|
++ optionals (bootLoader == "grub" && grubVersion == 2) [ pkgs.grub2 pkgs.grub2_efi ];
|
||||||
|
|
||||||
services.udisks2.enable = mkDefault false;
|
|
||||||
|
|
||||||
nix.binaryCaches = mkForce [ ];
|
nix.binaryCaches = mkForce [ ];
|
||||||
nix.extraOptions =
|
nix.extraOptions =
|
||||||
''
|
''
|
||||||
|
|
|
@ -51,12 +51,11 @@ let
|
||||||
hashed-mirrors =
|
hashed-mirrors =
|
||||||
connect-timeout = 1
|
connect-timeout = 1
|
||||||
'';
|
'';
|
||||||
services.udisks2.enable = lib.mkForce false;
|
|
||||||
};
|
};
|
||||||
# /etc/nixos/configuration.nix for the vm
|
# /etc/nixos/configuration.nix for the vm
|
||||||
configFile = pkgs.writeText "configuration.nix" ''
|
configFile = pkgs.writeText "configuration.nix" ''
|
||||||
{config, pkgs, ...}: ({
|
{config, pkgs, ...}: ({
|
||||||
imports =
|
imports =
|
||||||
[ ./hardware-configuration.nix
|
[ ./hardware-configuration.nix
|
||||||
<nixpkgs/nixos/modules/testing/test-instrumentation.nix>
|
<nixpkgs/nixos/modules/testing/test-instrumentation.nix>
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue