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"; hostname = "live";
system = "x86_64-linux"; system = "x86_64-linux";
modules = [ 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; } { networking.wireless.enable = nixpkgs.lib.mkForce false; }
({ pkgs, ... }: { boot.kernelPackages = nixpkgs.lib.mkForce pkgs.linuxPackages; }) ({ pkgs, ... }: { boot.kernelPackages = nixpkgs.lib.mkForce pkgs.linuxPackages; })
./module/Gnome.nix ./module/Gnome.nix

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

@ -1,9 +1,5 @@
{ config, pkgs, ... }: { config, pkgs, ... }: {
imports = [ ];
{
imports = [
# ./MsiKeyboard.nix
];
# Filesystems. # Filesystems.
fileSystems."/storage/hot" = { 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, ... }: { { config, pkgs, ... }: {
imports = [ ]; imports = [ ];
environment.systemPackages = with pkgs; [
firefox
];
} }

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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