Compare commits
10 Commits
da81594cdd
...
main
Author | SHA1 | Date | |
---|---|---|---|
|
eed6a57885 | ||
|
bdf62ceec0 | ||
|
ca74f4654b | ||
|
bf8698da71 | ||
|
dd195b866d | ||
|
0540531fb8 | ||
|
3be843fd2e | ||
|
37c3dac5bb | ||
|
f542767018 | ||
|
9d1b7596b1 |
11
flake.nix
11
flake.nix
@@ -40,6 +40,11 @@
|
|||||||
nix-vscode-extensions = {
|
nix-vscode-extensions = {
|
||||||
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 =
|
||||||
{
|
{
|
||||||
@@ -55,7 +60,7 @@
|
|||||||
nixd,
|
nixd,
|
||||||
sops-nix,
|
sops-nix,
|
||||||
nix-vscode-extensions,
|
nix-vscode-extensions,
|
||||||
|
# mac-app-util,
|
||||||
}@inputs:
|
}@inputs:
|
||||||
let
|
let
|
||||||
user = "olaf";
|
user = "olaf";
|
||||||
@@ -134,6 +139,7 @@
|
|||||||
# 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;
|
||||||
@@ -146,6 +152,9 @@
|
|||||||
mutableTaps = false;
|
mutableTaps = false;
|
||||||
autoMigrate = true;
|
autoMigrate = true;
|
||||||
};
|
};
|
||||||
|
home-manager.sharedModules = [
|
||||||
|
# mac-app-util.homeManagerModules.default
|
||||||
|
];
|
||||||
}
|
}
|
||||||
./hosts/darwin
|
./hosts/darwin
|
||||||
];
|
];
|
||||||
|
@@ -57,6 +57,17 @@ 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;
|
||||||
|
|
||||||
|
@@ -9,18 +9,17 @@ _:
|
|||||||
"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"
|
||||||
@@ -47,27 +46,29 @@ _:
|
|||||||
|
|
||||||
# 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" # Removed in favor of OrcaSlicer
|
||||||
|
"orcaslicer"
|
||||||
"element"
|
"element"
|
||||||
"mqtt-explorer"
|
# "mqtt-explorer"
|
||||||
"virtualbox"
|
"virtualbox"
|
||||||
"autodesk-fusion"
|
# "autodesk-fusion" #fails to install
|
||||||
"qmk-toolbox"
|
"qmk-toolbox"
|
||||||
"dbeaver-community"
|
"dbeaver-community"
|
||||||
"sqlitestudio"
|
"sqlitestudio"
|
||||||
|
|
||||||
"wireshark"
|
# "wireshark"
|
||||||
# Browsers
|
# Browsers
|
||||||
"google-chrome"
|
"google-chrome"
|
||||||
"firefox"
|
"firefox"
|
||||||
|
|
||||||
|
|
||||||
]
|
]
|
||||||
|
@@ -47,6 +47,21 @@ 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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
@@ -106,6 +121,7 @@ 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/";
|
||||||
@@ -120,6 +136,7 @@ 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";
|
||||||
|
@@ -1,18 +1,23 @@
|
|||||||
{ pkgs }:
|
{ pkgs }:
|
||||||
|
|
||||||
with pkgs;
|
with pkgs;
|
||||||
let shared-packages = import ../shared/packages.nix { inherit pkgs; }; in
|
let
|
||||||
shared-packages ++ [
|
shared-packages = import ../shared/packages.nix { inherit pkgs; };
|
||||||
|
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
|
||||||
@@ -33,6 +38,9 @@ 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
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
let
|
let
|
||||||
emacsOverlaySha256 = "06413w510jmld20i4lik9b36cfafm501864yq8k4vxl5r4hn0j0h";
|
emacsOverlaySha256 = "11p1c1l04zrn8dd5w8zyzlv172z05dwi9avbckav4d5fk043m754";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
home-manager.backupFileExtension = "nix-backup";
|
home-manager.backupFileExtension = "nix-backup";
|
||||||
|
39
modules/shared/packages-scratch
Normal file
39
modules/shared/packages-scratch
Normal file
@@ -0,0 +1,39 @@
|
|||||||
|
(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=";
|
||||||
|
}
|
||||||
|
];
|
||||||
|
})
|
@@ -4,6 +4,9 @@ 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
|
||||||
@@ -35,6 +38,7 @@ 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
|
||||||
@@ -72,7 +76,8 @@ with pkgs;
|
|||||||
tmux
|
tmux
|
||||||
unrar
|
unrar
|
||||||
unzip
|
unzip
|
||||||
rmapi
|
inetutils # includes Telnet
|
||||||
|
|
||||||
# zsh-powerlevel10k
|
# zsh-powerlevel10k
|
||||||
|
|
||||||
# Python packages
|
# Python packages
|
||||||
@@ -124,13 +129,20 @@ with pkgs;
|
|||||||
# ];
|
# ];
|
||||||
# })
|
# })
|
||||||
|
|
||||||
# Tex and LaTex
|
# XML, 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
|
||||||
@@ -145,6 +157,7 @@ with pkgs;
|
|||||||
selnolig
|
selnolig
|
||||||
sourcesanspro
|
sourcesanspro
|
||||||
tcolorbox
|
tcolorbox
|
||||||
|
texcount
|
||||||
threeparttable
|
threeparttable
|
||||||
tikzfill
|
tikzfill
|
||||||
titling
|
titling
|
||||||
|
Reference in New Issue
Block a user