diff --git a/nixos/hosts/usconfig/configuration.nix b/nixos/hosts/usconfig/configuration.nix index 98be4a1..23227b9 100644 --- a/nixos/hosts/usconfig/configuration.nix +++ b/nixos/hosts/usconfig/configuration.nix @@ -9,8 +9,13 @@ ./pockets.nix ./hardware-configuration.nix ./models/bluetooth.nix + #./services/thingsboard.nix + #./services/node-red.nix + #./services/postgresql.nix ]; + #home.packages = [ pkgs.callPackage ./pockets/thingsboard.nix {} ]; + # Bootloader. boot.loader.systemd-boot.enable = true; boot.loader.efi.canTouchEfiVariables = true; @@ -85,6 +90,12 @@ }; }; + virtualisation.virtualbox.host.enable = true; #Installing virtualBox for IOT lessons + users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ]; + + + virtualisation.docker.enable = true; + # Enable automatic login for the user. services.xserver.displayManager.autoLogin.enable = true; services.xserver.displayManager.autoLogin.user = "kirill"; diff --git a/nixos/hosts/usconfig/pockets.nix b/nixos/hosts/usconfig/pockets.nix index 98cc7df..2eef527 100644 --- a/nixos/hosts/usconfig/pockets.nix +++ b/nixos/hosts/usconfig/pockets.nix @@ -1,4 +1,9 @@ -{ pkgs, ... }: { +{ pkgs, ... }: + +#let +# thingsboard = import ./pockets/thingsboard.nix { inherit pkgs; }; +#in +{ nixpkgs.config = { allowUnfree = true; permittedInsecurePackages = ["python-2.7.18.8" "electron-25.9.0" "freeimage-unstable-2021-11-01" "obsidian-1.5.12"]; @@ -25,7 +30,7 @@ neofetch mako file - btop + btop nix-index unzip scrot @@ -56,33 +61,38 @@ (python3.withPackages (ps: with ps; [ requests bpython ])) python311Packages.pip - #IDES + # IDES jetbrains.idea-community - #languages + # Languages vscode nodejs gcc cmake jdk maven - - #Bluetoth + + # Bluetooth bluez bluez-tools - - #Sounds + + # Sounds pipewire pulseaudio pamixer - #obs-studio + # obs-studio obs-studio - - #GameManager - ]; -fonts.packages = with pkgs; [ + #videoManager + vlc + + # New Packages + pkgs.nodePackages.node-red + pkgs.postgresql + ];# ++ [thingsboard]; + + fonts.packages = with pkgs; [ jetbrains-mono noto-fonts noto-fonts-emoji @@ -93,5 +103,5 @@ fonts.packages = with pkgs; [ ubuntu_font_family unifont (nerdfonts.override { fonts = [ "NerdFontsSymbolsOnly" ]; }) - ]; + ]; }