Live : Do not use GUI installer as it will not work.

This commit is contained in:
Dmitry Voronin 2024-02-21 00:26:07 +03:00
parent c553db111e
commit 0b49fda0ff
36 changed files with 43 additions and 118 deletions

View file

@ -115,7 +115,7 @@
hostname = "live";
system = "x86_64-linux";
modules = [
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-graphical-calamares-gnome.nix"
"${nixpkgs}/nixos/modules/installer/cd-dvd/installation-cd-minimal.nix"
{ networking.wireless.enable = nixpkgs.lib.mkForce false; }
({ pkgs, ... }: { boot.kernelPackages = nixpkgs.lib.mkForce pkgs.linuxPackages; })
./module/Gnome.nix

View file

@ -1,6 +1,4 @@
{ ... }:
{
{ ... }: {
imports = [
./Tablet.nix
];

View file

@ -1,5 +1,3 @@
{ ... }:
{
{ ... }: {
hardware.opentabletdriver.enable = true;
}

View file

@ -1,8 +1,5 @@
{ config, pkgs, ... }:
{
imports = [
];
{ config, pkgs, ... }: {
imports = [ ];
# Filesystems.
fileSystems."/storage/hot" = {

View file

@ -1,6 +1,4 @@
{ lib, ... }:
{
{ lib, ... }: {
imports = [
];

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
systemd.services.backup = {
enable = true;
description = "Home system backup.";

View file

@ -1,6 +1,4 @@
{ config, pkgs, lib, ... }:
{
{ config, pkgs, lib, ... }: {
imports = [
./Backup.nix
./GnomeRdp.nix

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
openssl
gnome.gnome-remote-desktop

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
systemd.services.nextcloud = {
enable = true;
description = "Nextcloud worker.";

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
systemd.services.photos_process = {
enable = true;
description = "Process uploaded photos.";

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
systemd.services.yandex_music = {
enable = true;
description = "Sync music from Yandex.Music.";

View file

@ -1,9 +1,5 @@
{ config, pkgs, ... }:
{
imports = [
# ./MsiKeyboard.nix
];
{ config, pkgs, ... }: {
imports = [ ];
# Filesystems.
fileSystems."/storage/hot" = {

View file

@ -1,5 +0,0 @@
{ pkgs, ... }:
{
environment.systemPackages = with pkgs; [ haskellPackages.msi-kb-backlit ];
}

View file

@ -1,3 +1,7 @@
{ config, pkgs, ... }: {
imports = [ ];
environment.systemPackages = with pkgs; [
firefox
];
}

View file

@ -1,6 +1,4 @@
{ config, pkgs, ... }:
{
{ config, pkgs, ... }: {
imports = [
./Fprint.nix
];

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
fprintd
];

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
boot.initrd.kernelModules = [ "amdgpu" ];
services.xserver.videoDrivers = [ "amdgpu" ];
hardware.opengl.extraPackages = with pkgs; [

View file

@ -1,5 +1,3 @@
{ ... }:
{
{ ... }: {
virtualisation.docker.enable = true;
}

View file

@ -1,6 +1,4 @@
{ ... }:
{
{ ... }: {
virtualisation.docker.enable = true;
virtualisation.docker.rootless = {
enable = true;

View file

@ -1,6 +1,4 @@
{ ... }:
{
{ ... }: {
services.vsftpd = {
enable = true;
anonymousUser = true;

View file

@ -43,7 +43,7 @@ in {
# Sound.
sound.enable = true;
hardware.pulseaudio.enable = lib.mkForce false;
hardware.pulseaudio.enable = false;
security.rtkit.enable = true;
services.pipewire = {
enable = true;

View file

@ -1,9 +1,7 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
systemd.services.powerlimit = {
enable = true;
description = "Limit battery charge.";
enable = true;
serviceConfig = {
Type = "simple";
RemainAfterExit = "yes";

View file

@ -1,9 +1,7 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
systemd.services.powersave = {
enable = true;
description = "AMD disable Boost";
enable = true;
serviceConfig = {
Type = "simple";
RemainAfterExit = "yes";

View file

@ -1,9 +1,7 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
systemd.services.powersave = {
enable = true;
description = "Intel disable Boost";
enable = true;
serviceConfig = {
Type = "simple";
RemainAfterExit = "yes";

View file

@ -1,6 +1,4 @@
{ ... }:
{
{ ... }: {
services.printing = {
enable = true;
clientConf = ''

View file

@ -1,13 +1,4 @@
{ pkgs, ... }:
# File (in the menu bar) -> Add connection
#
# HyperVisor = QEMU/KVM
# Autoconnect = checkmark
#
# Connect
{
{ pkgs, ... }: {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
}

View file

@ -1,6 +1,4 @@
{ ... }:
{
{ ... }: {
boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true;
}

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
distrobox
];

View file

@ -1,5 +1,3 @@
{ ... }:
{
{ ... }: {
networking.firewall.enable = false;
}

View file

@ -1,6 +1,4 @@
{ ... }:
{
{ ... }: {
time.timeZone = "Europe/Moscow";
i18n.defaultLocale = "en_US.UTF-8";
i18n.extraLocaleSettings = {

View file

@ -1,5 +1,3 @@
{ ... }:
{
{ ... }: {
networking.networkmanager.enable = true;
}

View file

@ -1,6 +1,4 @@
{ pkgs, ... }:
{
{ pkgs, ... }: {
environment.systemPackages = with pkgs; [
android-tools
appimage-run

View file

@ -1,5 +1,3 @@
{ specialArgs, ... }:
{
{ specialArgs, ... }: {
users.users.root.hashedPassword = specialArgs.const.hashedPassword;
}

View file

@ -1,6 +1,4 @@
{ ... }:
{
{ ... }: {
services.openssh = {
enable = true;
allowSFTP = true;

View file

@ -1,5 +1,3 @@
{ ... }:
{
{ ... }: {
zramSwap.enable = true;
}

View file

@ -1,5 +1,3 @@
{ ... }:
{
{ ... }: {
users.mutableUsers = false;
}