add desktop config
This commit is contained in:
@@ -21,6 +21,18 @@
|
|||||||
./nix/mega.nix
|
./nix/mega.nix
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nixosConfigurations.qmoran-desktop = nixpkgs.lib.nixosSystem {
|
||||||
|
system = "x86_64-linux";
|
||||||
|
modules = [
|
||||||
|
./nix/qdhc.nix
|
||||||
|
./nix/common.nix
|
||||||
|
./nix/user-quin.nix
|
||||||
|
./nix/gui1.nix
|
||||||
|
./nix/mega.nix
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,39 @@
|
|||||||
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
|
# and may be overwritten by future invocations. Please make changes
|
||||||
|
# to /etc/nixos/configuration.nix instead.
|
||||||
|
{ config, lib, pkgs, modulesPath, ... }:
|
||||||
|
|
||||||
|
{
|
||||||
|
imports =
|
||||||
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
||||||
|
];
|
||||||
|
|
||||||
|
networking.hostName = "qmoran-desktop";
|
||||||
|
|
||||||
|
# Bootloader.
|
||||||
|
boot.loader.systemd-boot.enable = true;
|
||||||
|
boot.loader.efi.canTouchEfiVariables = true;
|
||||||
|
|
||||||
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
|
boot.initrd.kernelModules = [ ];
|
||||||
|
boot.kernelModules = [ "kvm-amd" ];
|
||||||
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
|
fileSystems."/" =
|
||||||
|
{ device = "/dev/disk/by-uuid/2f49d6b4-62dc-4751-b373-656cbc5dc203";
|
||||||
|
fsType = "ext4";
|
||||||
|
};
|
||||||
|
|
||||||
|
fileSystems."/boot" =
|
||||||
|
{ device = "/dev/disk/by-uuid/03DA-79ED";
|
||||||
|
fsType = "vfat";
|
||||||
|
options = [ "fmask=0077" "dmask=0077" ];
|
||||||
|
};
|
||||||
|
|
||||||
|
swapDevices =
|
||||||
|
[ { device = "/dev/disk/by-uuid/cf4cff49-15d7-4145-86c2-8be30e71fe4c"; }
|
||||||
|
];
|
||||||
|
|
||||||
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||||
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||||||
|
}
|
||||||
@@ -21,6 +21,8 @@
|
|||||||
vscodium
|
vscodium
|
||||||
vivaldi
|
vivaldi
|
||||||
libreoffice-qt-fresh
|
libreoffice-qt-fresh
|
||||||
|
ansible_2_18
|
||||||
|
trash-cli
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
[dietpi-inv]
|
|
||||||
; B407 Raspberry pi node
|
|
||||||
root@192.168.68.52 ansible_ssh_private_key_file=~/.ssh/id_ed25519
|
|
||||||
@@ -1,4 +0,0 @@
|
|||||||
---
|
|
||||||
- hosts: dietpi-inv
|
|
||||||
roles:
|
|
||||||
- dietpi
|
|
||||||
@@ -2,7 +2,6 @@
|
|||||||
- hosts: qmoran-desktop
|
- hosts: qmoran-desktop
|
||||||
become: yes
|
become: yes
|
||||||
roles:
|
roles:
|
||||||
- devtools
|
|
||||||
- oneenv
|
- oneenv
|
||||||
vars_files:
|
vars_files:
|
||||||
- secrets.yaml
|
- secrets.yaml
|
||||||
|
|||||||
Reference in New Issue
Block a user