Fix Flutter

This commit is contained in:
2024-12-19 12:45:06 +01:00
parent efde154c5b
commit 13cc933c01
3 changed files with 39 additions and 1 deletions

View File

@@ -1,6 +1,19 @@
{ pkgs, ... }:
{
programs = { adb.enable = true; };
system.userActivationScripts = {
stdio = {
text = ''
rm -f ~/Android/Sdk/platform-tools/adb
ln -s /run/current-system/sw/bin/adb ~/Android/Sdk/platform-tools/adb
'';
deps = [ ];
};
};
# Importing necessary setup for Steam.
imports = [ ./builds/steam/default.nix ./home/extras/printer.nix ];
@@ -73,7 +86,7 @@
isNormalUser = true;
home = "/home/elias";
shell = pkgs.zsh;
extraGroups = [ "wheel" "networkmanager" "audio" "video" ];
extraGroups = [ "wheel" "networkmanager" "audio" "video" "adbusers" ];
hashedPassword =
"$6$pdAJt1f0v7Zb13Ri$1WpKrErAp5JCb7eXs7EeeWYRMBLu5/WKDdMyGzJyYQDijG2NiywUXpAkl/8p1noxOOqYbb.MTw7JmTzhWGsT21";
};
@@ -82,6 +95,18 @@
# Setting the Basic Packages.
environment.systemPackages = with pkgs; [
(libsForQt5.callPackage ./home/themes/catppuccin-sddm.nix { })
# flutter
android-studio
clang
cmake
flutter
ninja
pkg-config
curl
unzip
xz
zip
mesa
git
wget

View File

@@ -28,6 +28,7 @@
./stack
./telegram
./thunderbird
./vscode
./wallpaper
./xmonad
./zoom

View File

@@ -0,0 +1,12 @@
{ pkgs, ... }:
{
programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
dracula-theme.theme-dracula
vscodevim.vim
yzhang.markdown-all-in-one
];
};
}