Compare commits

57 Commits

Author SHA1 Message Date
Gitea Actions
b8170a30b8 Update flake.lock 2025-04-28 2026-01-25 00:30:46 +00:00
Gitea Actions
c26da372de Update flake.lock 2025-04-27 2026-01-25 00:30:46 +00:00
Gitea Actions
8b0d7b452a Update flake.lock 2025-04-26 2026-01-25 00:30:46 +00:00
Gitea Actions
029714bbfd Update flake.lock 2025-04-25 2026-01-25 00:30:46 +00:00
Gitea Actions
dfc2c3a951 Update flake.lock 2025-04-24 2026-01-25 00:30:46 +00:00
Gitea Actions
63f53c6e27 Update flake.lock 2025-04-23 2026-01-25 00:30:46 +00:00
Gitea Actions
a07593b8e2 Update flake.lock 2025-04-22 2026-01-25 00:30:46 +00:00
Gitea Actions
59c99c954b Update flake.lock 2025-04-21 2026-01-25 00:30:46 +00:00
Gitea Actions
a8b61d236f Update flake.lock 2025-04-20 2026-01-25 00:30:46 +00:00
Gitea Actions
c7a317cfd2 Update flake.lock 2025-04-19 2026-01-25 00:30:46 +00:00
Gitea Actions
000e7d5ed8 Update flake.lock 2025-04-18 2026-01-25 00:30:46 +00:00
Gitea Actions
2a65e9f610 Update flake.lock 2025-04-17 2026-01-25 00:30:46 +00:00
Gitea Actions
376000b090 Update flake.lock 2025-04-16 2026-01-25 00:30:46 +00:00
Gitea Actions
23c449dae7 Update flake.lock 2025-04-15 2026-01-25 00:30:46 +00:00
Gitea Actions
91ad673f27 Update flake.lock 2025-04-14 2026-01-25 00:30:46 +00:00
Gitea Actions
4638c81857 Update flake.lock 2025-04-13 2026-01-25 00:30:46 +00:00
Gitea Actions
34858dd3c3 Update flake.lock 2025-04-12 2026-01-25 00:30:46 +00:00
Gitea Actions
61747e47c1 Update flake.lock 2025-04-11 2026-01-25 00:30:46 +00:00
Gitea Actions
9e105f4e08 Update flake.lock 2025-04-10 2026-01-25 00:30:46 +00:00
Gitea Actions
774659a259 Update flake.lock 2025-04-09 2026-01-25 00:30:46 +00:00
Gitea Actions
3675ec2fba Update flake.lock 2025-04-08 2026-01-25 00:30:46 +00:00
Gitea Actions
08478865d5 Update flake.lock 2025-04-07 2026-01-25 00:30:46 +00:00
Gitea Actions
15e9f8764d Update flake.lock 2025-04-06 2026-01-25 00:30:46 +00:00
Gitea Actions
ae1b6e2de0 Update flake.lock 2025-04-05 2026-01-25 00:30:46 +00:00
Gitea Actions
177c8ac20b Update flake.lock 2025-04-04 2026-01-25 00:30:46 +00:00
Gitea Actions
c2d46096fb Update flake.lock 2025-04-03 2026-01-25 00:30:46 +00:00
Gitea Actions
e75adc4eee Update flake.lock 2025-04-02 2026-01-25 00:30:46 +00:00
Gitea Actions
50b240a1df Update flake.lock 2025-04-01 2026-01-25 00:30:46 +00:00
Gitea Actions
8c8140fc8f Update flake.lock 2025-03-31 2026-01-25 00:30:46 +00:00
Gitea Actions
55b07d9fc2 Update flake.lock 2025-03-30 2026-01-25 00:30:46 +00:00
Gitea Actions
610001326e Update flake.lock 2025-03-29 2026-01-25 00:30:46 +00:00
Gitea Actions
7a8dc89e20 Update flake.lock 2025-03-28 2026-01-25 00:30:46 +00:00
Gitea Actions
1caecebd3b Update flake.lock 2025-03-27 2026-01-25 00:30:46 +00:00
Gitea Actions
716200ee80 Update flake.lock 2025-03-26 2026-01-25 00:30:46 +00:00
Gitea Actions
ffe813fd77 Update flake.lock 2025-03-25 2026-01-25 00:30:46 +00:00
Gitea Actions
1afef0ff13 Update flake.lock 2025-03-24 2026-01-25 00:30:46 +00:00
Gitea Actions
5a941ab974 Update flake.lock 2025-03-23 2026-01-25 00:30:46 +00:00
af54219f5f Install element-desktop too
Some checks failed
Update Nix Flake / update-flake (push) Failing after 18s
2026-01-24 16:37:09 +01:00
b6f59055d8 Fix quickstart.nix 2026-01-24 16:36:04 +01:00
cb990c0cd4 Switch to element-desktop 2026-01-24 16:35:54 +01:00
c896e02bf1 Allow unfree packages with "run" and "shell" commands
Some checks failed
Update Nix Flake / update-flake (push) Failing after 16s
2026-01-22 06:56:06 +01:00
c1e031efa9 Fix "systems deprecated" warning
Some checks failed
Update Nix Flake / update-flake (push) Failing after 49s
2026-01-20 21:01:05 +01:00
19f213ca8c development: install opencode 2026-01-20 20:40:09 +01:00
a0ebb3f259 builder: add ollama and ui 2026-01-20 20:39:32 +01:00
3a994a3b8d Add more packages to quickstart configuration 2026-01-20 20:39:03 +01:00
3b4c0e4a63 Clean up configs 2026-01-20 20:38:53 +01:00
b15dd4ce86 move zoxide from yazi to fish config 2026-01-20 20:38:32 +01:00
db5514062c Update readme 2026-01-20 20:24:25 +01:00
7b500ee994 Make v3ms07 a generic quickstart configuration 2026-01-20 20:24:06 +01:00
07eb4664f9 Update flake 2026-01-20 20:04:32 +01:00
872f80e92c Remove non-working packages 2026-01-20 20:02:48 +01:00
562f873f97 hyprland: adapt keyboard shortcuts 2026-01-20 20:02:32 +01:00
2f5868fcca Add config for v3ms07 2026-01-20 20:02:01 +01:00
e1c1f6e104 emacs: install latex for org mode previews
Some checks failed
Update Nix Flake / update-flake (push) Failing after 14s
2026-01-06 12:10:16 +01:00
3bdf73557b desktop: remove vivaldi 2026-01-06 12:04:16 +01:00
bb9988245a hyprland: add submaps for common open commands 2026-01-06 12:04:05 +01:00
713f5bfe8c update flake 2026-01-06 12:03:55 +01:00
17 changed files with 946 additions and 141 deletions

View File

@@ -1,7 +1,12 @@
#+title: My dotfiles #+title: My dotfiles
My dotfiles for which I am using =nix=. * Quick start for home-manger only (no need to pull this repo)
The structure is managed by [[https://snowfall.org/guides/lib/quickstart/][Snowfall lib]] - Install nix using the https://github.com/DeterminateSystems/nix-installer
- Then run
#+begin_src shell
nix run nixpkgs#home-manager -- switch --flake git+https://gitlab.julian-mutter.de/julian/dotfiles.git#julian@quickstart
#+end_src
- Done
* Machine selection * Machine selection
=home-manager= automatically searches for =user= or =user@hostname= config in the flake, so specify one of those or you will have to manually specify them: =home-manager= automatically searches for =user= or =user@hostname= config in the flake, so specify one of those or you will have to manually specify them:

839
flake.lock generated

File diff suppressed because it is too large Load Diff

View File

@@ -100,12 +100,12 @@
}; };
}; };
# Piano raspberry pi # Piano raspberry pi
pianonix = lib.nixosSystem { # pianonix = lib.nixosSystem {
modules = [./hosts/pianonix]; # modules = [./hosts/pianonix];
specialArgs = { # specialArgs = {
inherit inputs outputs; # inherit inputs outputs;
}; # };
}; # };
kardorf = lib.nixosSystem { kardorf = lib.nixosSystem {
modules = [./hosts/kardorf]; modules = [./hosts/kardorf];
specialArgs = { specialArgs = {
@@ -134,16 +134,16 @@
}; };
}; };
# Media server (RPi) # Media server (RPi)
"julian@pianonix" = lib.homeManagerConfiguration { # "julian@pianonix" = lib.homeManagerConfiguration {
modules = [ # modules = [
./homes/julian/pianonix.nix # ./homes/julian/pianonix.nix
./homes/julian/hm-standalone-config.nix # ./homes/julian/hm-standalone-config.nix
]; # ];
pkgs = pkgsFor.aarch64-linux; # pkgs = pkgsFor.aarch64-linux;
extraSpecialArgs = { # extraSpecialArgs = {
inherit inputs outputs; # inherit inputs outputs;
}; # };
}; # };
"julian@kardorf" = lib.homeManagerConfiguration { "julian@kardorf" = lib.homeManagerConfiguration {
modules = [ modules = [
./homes/julian/kardorf.nix ./homes/julian/kardorf.nix
@@ -164,19 +164,29 @@
inherit inputs outputs; inherit inputs outputs;
}; };
}; };
"julian@quickstart" = lib.homeManagerConfiguration {
modules = [
./homes/julian/quickstart.nix
./homes/julian/hm-standalone-config.nix
];
pkgs = pkgsFor.x86_64-linux;
extraSpecialArgs = {
inherit inputs outputs;
};
};
}; };
# deploy-rs node configuration # deploy-rs node configuration
deploy.nodes = { deploy.nodes = {
pianonix = { # pianonix = {
hostname = "pianonix.local"; # hostname = "pianonix.local";
profiles.system = { # profiles.system = {
sshUser = "root"; # sshUser = "root";
user = "root"; # user = "root";
path = inputs.deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.pianonix; # path = inputs.deploy-rs.lib.aarch64-linux.activate.nixos self.nixosConfigurations.pianonix;
confirmTimeout = 90; # default: 30s; raspberrypi takes a little longer restarting services # confirmTimeout = 90; # default: 30s; raspberrypi takes a little longer restarting services
}; # };
}; # };
builder = { builder = {
hostname = "builder.julian-mutter.de"; hostname = "builder.julian-mutter.de";

View File

@@ -69,6 +69,25 @@ in {
emacs-all-the-icons-fonts emacs-all-the-icons-fonts
frajul.typst-languagetool frajul.typst-languagetool
ltex-ls-plus ltex-ls-plus
(texlive.combine {
inherit
(texlive)
scheme-basic
# for rendering latex in inkscape
standalone
amsmath
preview
# needed for org mode preview
dvisvgm
dvipng # for preview and export as html
wrapfig
# amsmath
ulem
hyperref
capt-of
;
})
] ]
++ lib.optional config.is-nixos emacs; ++ lib.optional config.is-nixos emacs;

View File

@@ -27,6 +27,11 @@ with lib; {
enableFishIntegration = true; enableFishIntegration = true;
}; };
programs.zoxide = {
enable = true;
enableFishIntegration = true;
};
programs.fish = { programs.fish = {
enable = true; enable = true;
@@ -38,14 +43,14 @@ with lib; {
cd $argv cd $argv
''; '';
run = '' run = ''
nix run nixpkgs#"$argv[1]" -- $argv[2..-1] nix run --impure nixpkgs#"$argv[1]" -- $argv[2..-1]
''; '';
shell = '' shell = ''
set args set args
for arg in $argv for arg in $argv
set args $args nixpkgs#$arg set args $args nixpkgs#$arg
end end
nix shell $args nix shell --impure $args
''; '';
fish_user_key_bindings = '' fish_user_key_bindings = ''
bind ctrl-space 'zi; commandline -f repaint' bind ctrl-space 'zi; commandline -f repaint'

View File

@@ -1,7 +1,6 @@
{ {
lib, lib,
pkgs, pkgs,
config,
... ...
}: }:
with lib; { with lib; {

View File

@@ -152,6 +152,37 @@ in {
# hyprlandPlugins.hyprbars # hyprlandPlugins.hyprbars
]; ];
submaps = {
"resize".settings = {
binde = [
", right, resizeactive, 20"
", left, resizeactive, -20 0"
", up, resizeactive, 0 -20"
", down, resizeactive, 0 20"
", l, resizeactive, 20"
", h, resizeactive, -20 0"
", k, resizeactive, 0 -20"
", j, resizeactive, 0 20"
];
bind = [
", q, submap, reset"
", escape, submap, reset"
", catchall, submap, reset" # make any other keypress cancel the submap
];
};
"open, reset".settings = {
bind = [
", e, exec, emacs"
", m, exec, open-messaging"
", b, exec, firefox"
", catchall, submap, reset" # make any other keypress cancel the submap
];
};
};
settings = { settings = {
"$mod" = "SUPER"; "$mod" = "SUPER";
@@ -250,6 +281,7 @@ in {
"workspace 1, class:firefox" "workspace 1, class:firefox"
"workspace 8, class:Zotero" "workspace 8, class:Zotero"
"workspace 9, class:nheko" "workspace 9, class:nheko"
"workspace 9, class:Element"
"workspace 9, class:discord" "workspace 9, class:discord"
"workspace 9, class:org.telegram.desktop" "workspace 9, class:org.telegram.desktop"
"workspace 10, class:thunderbird" "workspace 10, class:thunderbird"
@@ -280,12 +312,18 @@ in {
bind = bind =
[ [
# compositor commands # compositor commands
"$mod, Space, focuswindow, floating" #
"$mod SHIFT, Space, togglefloating," #
"$mod, R, submap, resize"
"$mod, O, submap, open"
#
"$mod, SPACE, focuswindow, floating"
"$mod SHIFT, SPACE, togglefloating,"
"$mod, F, fullscreen," "$mod, F, fullscreen,"
"$mod, X, killactive," "$mod, X, killactive,"
"$mod, O, togglesplit," # dwindle "$mod, -, togglesplit," # dwindle
# opening applications # opening applications
"$mod, D, exec, wofi --show drun,run" "$mod, D, exec, wofi --show drun,run"

View File

@@ -1,5 +1,4 @@
{ {
lib,
pkgs, pkgs,
inputs, inputs,
... ...
@@ -91,7 +90,7 @@
# Code formatting # Code formatting
conform-nvim = { conform-nvim = {
enable = true; enable = true;
settings.formatters_by_ft = with pkgs; { settings.formatters_by_ft = {
lua = ["stylua"]; lua = ["stylua"];
python = ["black"]; python = ["black"];
nix = ["nixfmt"]; nix = ["nixfmt"];

View File

@@ -30,9 +30,9 @@
telegram-desktop # telegram telegram-desktop # telegram
# schildichat-desktop # not updated regularly # schildichat-desktop # not updated regularly
nheko nheko
element-desktop
evince # Simple pdf reader, good for focusing on document content evince # Simple pdf reader, good for focusing on document content
firefox firefox
vivaldi
# geogebra # geogebra
cheese cheese
handbrake handbrake

View File

@@ -1,4 +1,9 @@
{pkgs, ...}: { {pkgs, ...}: {
programs.opencode = {
enable = true;
package = pkgs.unstable.opencode;
};
home.packages = with pkgs; [ home.packages = with pkgs; [
watchexec # Run command when any file in current dir changes watchexec # Run command when any file in current dir changes
android-tools # adb android-tools # adb

View File

@@ -3,9 +3,6 @@
inputs, inputs,
... ...
}: { }: {
programs.zoxide.enable = true;
programs.zoxide.enableFishIntegration = true;
home.packages = with pkgs; [ home.packages = with pkgs; [
exiftool exiftool
unar # extract archives unar # extract archives

View File

@@ -24,6 +24,11 @@
}; };
}; };
# To allow unfree with 'nix run'
xdg.configFile."nixpkgs/config.nix".text = ''
{ allowUnfree = true; }
'';
colorscheme.name = "catppuccin-mocha"; colorscheme.name = "catppuccin-mocha";
# systemd.user.startServices = "sd-switch"; # TODO: what is this # systemd.user.startServices = "sd-switch"; # TODO: what is this

View File

@@ -0,0 +1,32 @@
# Quick configuration for setting up basic things on a standalone home-manager device
# If you want to adapt it to a specific device, copy this file with the correct hostname
{pkgs, ...}: {
imports = [
./global
./features/fish
./features/direnv
./features/neovim
./features/yazi
./features/emacs
./features/nix-helper
./features/tmux
];
is-nixos = false;
home.sessionPath = ["/snap/bin"];
# Essential packages
home.packages = with pkgs; [
bat
dust
fd
ripgrep
fzf
lazygit
mc
tree
wget
];
}

View File

@@ -101,10 +101,17 @@
}; };
# Ollama used by open-webui as llm backend # Ollama used by open-webui as llm backend
# services.ollama = { services.ollama = {
# enable = true; enable = true;
# # acceleration = "rocm"; # acceleration = "rocm";
# }; openFirewall = true;
};
services.nextjs-ollama-llm-ui = {
enable = true;
hostname = "192.168.3.118";
port = 3001;
};
# services.open-webui = { # services.open-webui = {
# enable = true; # enable = true;
# port = 8080; # port = 8080;
@@ -114,6 +121,7 @@
networking.firewall.allowedTCPPorts = [ networking.firewall.allowedTCPPorts = [
80 80
3001 # ollama-ui
]; ];
services.openssh = { services.openssh = {

View File

@@ -2,19 +2,19 @@
# For every flake input, aliases 'pkgs.inputs.${flake}' to # For every flake input, aliases 'pkgs.inputs.${flake}' to
# 'inputs.${flake}.packages.${pkgs.system}' or # 'inputs.${flake}.packages.${pkgs.system}' or
# 'inputs.${flake}.legacyPackages.${pkgs.system}' # 'inputs.${flake}.legacyPackages.${pkgs.system}'
flake-inputs = final: _: { # flake-inputs = final: _: {
inputs = # inputs =
builtins.mapAttrs ( # builtins.mapAttrs (
_: flake: let # _: flake: let
legacyPackages = (flake.legacyPackages or {}).${final.system} or {}; # legacyPackages = (flake.legacyPackages or {}).${final.system} or {};
packages = (flake.packages or {}).${final.system} or {}; # packages = (flake.packages or {}).${final.system} or {};
in # in
if legacyPackages != {} # if legacyPackages != {}
then legacyPackages # then legacyPackages
else packages # else packages
) # )
inputs; # inputs;
}; # };
input-flake-packages = final: prev: { input-flake-packages = final: prev: {
sheet-organizer = inputs.sheet-organizer.packages.${prev.system}.default; # TODO: change sheet-organizer package output sheet-organizer = inputs.sheet-organizer.packages.${prev.system}.default; # TODO: change sheet-organizer package output
@@ -26,11 +26,11 @@
nixpkgs-stable-unstable = final: prev: { nixpkgs-stable-unstable = final: prev: {
unstable = import inputs.nixpkgs-unstable { unstable = import inputs.nixpkgs-unstable {
system = prev.system; system = prev.stdenv.hostPlatform.system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
stable = import inputs.nixpkgs { stable = import inputs.nixpkgs {
system = prev.system; system = prev.stdenv.hostPlatform.system;
config.allowUnfree = true; config.allowUnfree = true;
}; };
}; };

View File

@@ -16,6 +16,6 @@
typst-languagetool = pkgs.callPackage ./typst-languagetool {}; typst-languagetool = pkgs.callPackage ./typst-languagetool {};
pob2-frajul = pkgs.callPackage ./pob2-frajul {}; pob2-frajul = pkgs.callPackage ./pob2-frajul {};
rpi-ws281x-python = pkgs.callPackage ./rpi-ws281x-python {}; # rpi-ws281x-python = pkgs.callPackage ./rpi-ws281x-python {};
piano-led-visualizer = pkgs.callPackage ./piano-led-visualizer {}; # piano-led-visualizer = pkgs.callPackage ./piano-led-visualizer {};
} }

View File

@@ -1,6 +1,6 @@
{ {
writeShellApplication, writeShellApplication,
nheko, element-desktop,
telegram-desktop, telegram-desktop,
thunderbird, thunderbird,
discord, # TODO: discord not available for aarch64, this leads to flake evaluation for this arch fail. discord, # TODO: discord not available for aarch64, this leads to flake evaluation for this arch fail.
@@ -9,7 +9,7 @@ writeShellApplication {
name = "open-messaging"; name = "open-messaging";
runtimeInputs = [ runtimeInputs = [
nheko element-desktop
telegram-desktop telegram-desktop
thunderbird thunderbird
discord discord
@@ -18,7 +18,7 @@ writeShellApplication {
text = '' text = ''
thunderbird & thunderbird &
sleep 0.1 sleep 0.1
nheko & element-desktop &
sleep 0.1 sleep 0.1
Telegram & Telegram &
sleep 0.1 sleep 0.1