Compare commits

1 Commits

Author SHA1 Message Date
Olaf Kolkman
697a62bc89 Platform IO still doesn't run 2025-06-03 07:26:20 +02:00
7 changed files with 62 additions and 153 deletions

View File

@@ -41,10 +41,6 @@
url = "github:nix-community/nix-vscode-extensions"; url = "github:nix-community/nix-vscode-extensions";
}; };
# mac-app-util doesn't work with OCLP installed on X86
# mac-app-util = {
# url = "github:hraban/mac-app-util";
# };
}; };
outputs = outputs =
{ {
@@ -60,7 +56,7 @@
nixd, nixd,
sops-nix, sops-nix,
nix-vscode-extensions, nix-vscode-extensions,
# mac-app-util,
}@inputs: }@inputs:
let let
user = "olaf"; user = "olaf";
@@ -139,7 +135,6 @@
# sops-nix.nixosModules.sops # sops-nix.nixosModules.sops
home-manager.darwinModules.home-manager home-manager.darwinModules.home-manager
nix-homebrew.darwinModules.nix-homebrew nix-homebrew.darwinModules.nix-homebrew
# mac-app-util.darwinModules.default
{ {
nix-homebrew = { nix-homebrew = {
inherit user; inherit user;
@@ -152,9 +147,6 @@
mutableTaps = false; mutableTaps = false;
autoMigrate = true; autoMigrate = true;
}; };
home-manager.sharedModules = [
# mac-app-util.homeManagerModules.default
];
} }
./hosts/darwin ./hosts/darwin
]; ];

View File

@@ -57,17 +57,6 @@ in
''; '';
}; };
users.groups= {
gidevelopert={
description="Git Common Rights";
gid=500;
name= "gitdeveloper";
members = [ "olaf" ] ;
};
};
users.knownGroups=["gitdeveloper"];
# Turn off NIX_PATH warnings now that we're using flakes # Turn off NIX_PATH warnings now that we're using flakes
system.checks.verifyNixPath = false; system.checks.verifyNixPath = false;

View File

@@ -6,20 +6,21 @@ _:
"iterm2" "iterm2"
"oracle-jdk" "oracle-jdk"
"arduino-ide" "arduino-ide"
"visual-studio-code" # "visual-studio-code"
# Creatative tools # Creatative tools
"spotify"
"blender" "blender"
"gimp" "gimp"
"inkscape" "inkscape"
"vcv-rack" "vcv-rack"
#"affinity-designer" "affinity-designer"
#"affinity-photo" "affinity-photo"
#"affinity-publisher" "affinity-publisher"
# Communication Tools # Communication Tools
"discord" "discord"
# "slack" "slack"
"signal" "signal"
"whatsapp" "whatsapp"
"zoom" "zoom"
@@ -46,28 +47,27 @@ _:
# Productivity Tools # Productivity Tools
"1Password" "1Password"
#"zotero" "zotero"
"gpg-suite" "gpg-suite"
#"home-assistant" "home-assistant"
#"Fantastical" "Fantastical"
#"Remarkable" "Remarkable"
"mailmate" "mailmate"
"spamsieve" "spamsieve"
"libreoffice"
"macdown" "macdown"
"calibre" "calibre"
"superslicer" "superslicer"
"element" "element"
# "mqtt-explorer" "mqtt-explorer"
"virtualbox" "virtualbox"
# "autodesk-fusion" #fails to install "autodesk-fusion"
"qmk-toolbox" "qmk-toolbox"
"dbeaver-community" "dbeaver-community"
"sqlitestudio" "sqlitestudio"
# "wireshark" "wireshark"
# Browsers # Browsers
"google-chrome" "google-chrome"
"firefox" "firefox"
] ]

View File

@@ -47,21 +47,6 @@ in
masApps = { masApps = {
"wireguard" = 1451685025; "wireguard" = 1451685025;
"LibreOffice" = 1630474372;
"Affinity Designer 2" = 1616831348;
"Affinity Photo 2: Image Editor" = 1616822987;
"Affinity Publisher 2" = 1606941598;
"Home Assistant" = 1099568401; # (2025.7.1)
"Fantastical - Calendar" = 975937182;
### "1Password: Password Manager" = 1511601750; # (8.11.0) Does not seem to install
"1Password for Safari" = 1569813296; # (8.10.82)
"Slack for Desktop" = 803453959; # (4.45.60)
"Remarkable Desktop" = 1276493162; # (3.19.0)
"Ice Cubes for Mastodon" = 6444915884; # (1.11.3)
"MQTT Explorer" = 1455214828; # (0.3.5)
"WiFi Explorer: Scanner" = 494803304; # (3.5.6)
"Night Sky" = 475772902; # 475772902
}; };
}; };
@@ -121,13 +106,12 @@ in
{ path = "/System/Applications/System Settings.app/"; } { path = "/System/Applications/System Settings.app/"; }
{ path = "/Applications/Signal.app/"; } { path = "/Applications/Signal.app/"; }
{ path = "/Applications/WhatsApp.app/"; } { path = "/Applications/WhatsApp.app/"; }
{ path = "/Applications/Ice\ Cubes.app/"; }
{ {
path = "/Applications/Jellyfin Media Player.app/"; path = "/Applications/Jellyfin Media Player.app/";
options = "-l Jellyfin"; options = "-l Jellyfin";
} }
{ path = "/Applications/Visual Studio Code.app/"; } { path = "/run/current-system/Applications/Visual Studio Code.app/"; }
{ path = "/Applications/Home Assistant.app/"; } { path = "/Applications/Home Assistant.app/"; }
{ path = "/Applications/reMarkable.app/"; } { path = "/Applications/reMarkable.app/"; }
{ path = "/Applications/LibreOffice.app/"; } { path = "/Applications/LibreOffice.app/"; }
@@ -136,7 +120,6 @@ in
{ path = "/Applications/Microsoft Teams.app/"; } { path = "/Applications/Microsoft Teams.app/"; }
{ path = "/System/Applications/Utilities/Screen Sharing.app/"; } { path = "/System/Applications/Utilities/Screen Sharing.app/"; }
{ path = "/run/current-system/Applications/Emacs.app/"; } { path = "/run/current-system/Applications/Emacs.app/"; }
{ path = "/run/current-system/Applications/Zotero.app/"; }
{ {
path = "/Applications/"; path = "/Applications/";
section = "others"; section = "others";

View File

@@ -1,23 +1,18 @@
{ pkgs }: { pkgs }:
with pkgs; with pkgs;
let let shared-packages = import ../shared/packages.nix { inherit pkgs; }; in
shared-packages = import ../shared/packages.nix { inherit pkgs; }; shared-packages ++ [
in
shared-packages
++ [
# Security and authentication # Security and authentication
yubikey-agent yubikey-agent
keepassxc keepassxc
private-internet-access
# App and package management # App and package management
appimage-run appimage-run
gnumake gnumake
cmake cmake
home-manager home-manager
ansible
# Media and design tools # Media and design tools
vlc vlc
@@ -38,9 +33,6 @@ shared-packages
postgresql postgresql
libtool # for Emacs vterm libtool # for Emacs vterm
# System
istat-menus
# Screenshot and recording tools # Screenshot and recording tools
flameshot flameshot

View File

@@ -1,39 +0,0 @@
(vscode-with-extensions.override {
vscodeExtensions =
with vscode-extensions;
[
#bbenoist.nix
jnoortheen.nix-ide
ms-python.python
ms-azuretools.vscode-docker
# ms-vscode-remote.remote-ssh
# ms-vscode.cpptools
eamodio.gitlens
]
++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# {
# name = "remote-ssh-edit";
# publisher = "ms-vscode-remote";
# version = "0.47.2";
# sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
# }
{
name = "cpptools";
publisher = "ms-vscode";
version = "1.26.1";
sha256 = "sha256-uVE7sEO8XN3ArFpElUw25/BKyCOzF1EmZ5nHBkdoL/0=";
}
# {
# name = "minifyall";
# publisher = "josee9988";
# version = "2.10";
# }
{
name = "platformio-ide";
publisher = "platformio";
version = "3.3.4";
sha256 = "sha256-qfNz4IYjCmCMFLtAkbGTW5xnsVT8iDnFWjrgkmr2Slk=";
}
];
})

View File

@@ -4,9 +4,6 @@ with pkgs;
[ [
# Nix # Nix
nixd nixd
mas
# General packages for development and system management # General packages for development and system management
#alacritty #alacritty
aspell aspell
@@ -38,7 +35,6 @@ with pkgs;
llvm llvm
clang-tools clang-tools
dfu-util dfu-util
go
# Encryption and security tools # Encryption and security tools
age age
sops sops
@@ -76,7 +72,7 @@ with pkgs;
tmux tmux
unrar unrar
unzip unzip
rmapi
# zsh-powerlevel10k # zsh-powerlevel10k
# Python packages # Python packages
@@ -88,58 +84,55 @@ with pkgs;
cargo cargo
platformio-core platformio-core
# (vscode-with-extensions.override { (vscode-with-extensions.override {
# vscodeExtensions = vscodeExtensions =
# with vscode-extensions; with vscode-extensions;
# [ [
# #bbenoist.nix #bbenoist.nix
# jnoortheen.nix-ide jnoortheen.nix-ide
# ms-python.python ms-python.python
# ms-azuretools.vscode-docker ms-azuretools.vscode-docker
# # ms-vscode-remote.remote-ssh # ms-vscode-remote.remote-ssh
# eamodio.gitlens eamodio.gitlens
# james-yu.latex-workshop james-yu.latex-workshop
# ] ms-vscode.cmake-tools
# ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [ shd101wyy.markdown-preview-enhanced
# # { ]
# # name = "remote-ssh-edit"; ++ pkgs.vscode-utils.extensionsFromVscodeMarketplace [
# # publisher = "ms-vscode-remote"; # {
# # version = "0.47.2"; # name = "remote-ssh-edit";
# # sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g"; # publisher = "ms-vscode-remote";
# # } # version = "0.47.2";
# { # sha256 = "1hp6gjh4xp2m1xlm1jsdzxw9d8frkiidhph6nvl24d0h8z34w49g";
# name = "cpptools"; # }
# publisher = "ms-vscode"; {
# version = "1.26.1"; name = "cpptools";
# sha256 = "sha256-uVE7sEO8XN3ArFpElUw25/BKyCOzF1EmZ5nHBkdoL/0="; publisher = "ms-vscode";
# } version = "1.26.1";
# { sha256 = "sha256-uVE7sEO8XN3ArFpElUw25/BKyCOzF1EmZ5nHBkdoL/0=";
# name = "minifyall"; }
# publisher = "josee9988"; {
# version = "2.10.0"; name = "minifyall";
# sha256 = "sha256-cH5x8fUN0n+hO1b3lNzau2MnyeYmsD0ZXAYGxCQjT0Y="; publisher = "josee9988";
# } version = "2.10.0";
# { sha256 = "sha256-cH5x8fUN0n+hO1b3lNzau2MnyeYmsD0ZXAYGxCQjT0Y=";
# name = "platformio-ide"; }
# publisher = "platformio"; {
# version = "3.3.4"; name = "platformio-ide";
# sha256 = "sha256-qfNz4IYjCmCMFLtAkbGTW5xnsVT8iDnFWjrgkmr2Slk="; publisher = "platformio";
# } version = "3.3.4";
# ]; sha256 = "sha256-qfNz4IYjCmCMFLtAkbGTW5xnsVT8iDnFWjrgkmr2Slk=";
# }) }
];
})
# XML, Tex and LaTex # Tex and LaTex
pandoc pandoc
mdbook mdbook
xml2rfc
rubyPackages_3_4.kramdown-rfc2629
zotero
(texlive.combine { (texlive.combine {
inherit (texlive) inherit (texlive)
apa6 apa6
biber
biblatex-apa6
biblatex
bibunits bibunits
draftwatermark draftwatermark
enumitem enumitem
@@ -154,7 +147,6 @@ with pkgs;
selnolig selnolig
sourcesanspro sourcesanspro
tcolorbox tcolorbox
texcount
threeparttable threeparttable
tikzfill tikzfill
titling titling