4 Commits

Author SHA1 Message Date
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
8 changed files with 22 additions and 15 deletions

View File

@@ -4,7 +4,7 @@
- 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
nix run nixpkgs#home-manager -- switch --flake git+https://gitlab.julian-mutter.de/julian/dotfiles.git#julian@quickstart
#+end_src
- Done

View File

@@ -166,7 +166,7 @@
};
"julian@quickstart" = lib.homeManagerConfiguration {
modules = [
./homes/julian/quickstart
./homes/julian/quickstart.nix
./homes/julian/hm-standalone-config.nix
];
pkgs = pkgsFor.x86_64-linux;

View File

@@ -43,14 +43,14 @@ with lib; {
cd $argv
'';
run = ''
nix run nixpkgs#"$argv[1]" -- $argv[2..-1]
nix run --impure nixpkgs#"$argv[1]" -- $argv[2..-1]
'';
shell = ''
set args
for arg in $argv
set args $args nixpkgs#$arg
end
nix shell $args
nix shell --impure $args
'';
fish_user_key_bindings = ''
bind ctrl-space 'zi; commandline -f repaint'

View File

@@ -281,6 +281,7 @@ in {
"workspace 1, class:firefox"
"workspace 8, class:Zotero"
"workspace 9, class:nheko"
"workspace 9, class:Element"
"workspace 9, class:discord"
"workspace 9, class:org.telegram.desktop"
"workspace 10, class:thunderbird"

View File

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

View File

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

View File

@@ -2,15 +2,15 @@
# If you want to adapt it to a specific device, copy this file with the correct hostname
{pkgs, ...}: {
imports = [
../global
./global
../features/fish
../features/direnv
../features/neovim
../features/yazi
../features/emacs
../features/nix-helper
../features/tmux
./features/fish
./features/direnv
./features/neovim
./features/yazi
./features/emacs
./features/nix-helper
./features/tmux
];
is-nixos = false;

View File

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