feat: fix bat formatting for jj
feat: add signal update zellij
This commit is contained in:
parent
51f990e3e4
commit
5076a3d4bb
2 changed files with 55 additions and 6 deletions
|
|
@ -124,7 +124,7 @@
|
||||||
users.users.jet = {
|
users.users.jet = {
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
description = "Jet";
|
description = "Jet";
|
||||||
extraGroups = [ "networkmanager" "wheel" ];
|
extraGroups = [ "networkmanager" "wheel" "podman" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
# Allow unfree packages
|
# Allow unfree packages
|
||||||
|
|
@ -140,6 +140,8 @@
|
||||||
helix # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
helix # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||||
wget
|
wget
|
||||||
vim
|
vim
|
||||||
|
podman
|
||||||
|
podman-compose
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.variables.EDITOR = "helix";
|
environment.variables.EDITOR = "helix";
|
||||||
|
|
@ -160,6 +162,25 @@
|
||||||
# Enable the OpenSSH daemon.
|
# Enable the OpenSSH daemon.
|
||||||
# services.openssh.enable = true;
|
# services.openssh.enable = true;
|
||||||
|
|
||||||
|
# Enable Podman with rootless support
|
||||||
|
virtualisation = {
|
||||||
|
containers.enable = true;
|
||||||
|
oci-containers.backend = "podman";
|
||||||
|
podman = {
|
||||||
|
enable = true;
|
||||||
|
autoPrune.enable = true;
|
||||||
|
# Create a `docker` alias for podman, to use it as a drop-in replacement
|
||||||
|
dockerCompat = true;
|
||||||
|
# Required for containers under podman-compose to be able to talk to each other.
|
||||||
|
defaultNetwork.settings.dns_enabled = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
# Create podman group
|
||||||
|
users.groups.podman = {
|
||||||
|
name = "podman";
|
||||||
|
};
|
||||||
|
|
||||||
# Open ports in the firewall.
|
# Open ports in the firewall.
|
||||||
# networking.firewall.allowedTCPPorts = [ ... ];
|
# networking.firewall.allowedTCPPorts = [ ... ];
|
||||||
# networking.firewall.allowedUDPPorts = [ ... ];
|
# networking.firewall.allowedUDPPorts = [ ... ];
|
||||||
|
|
@ -168,10 +189,23 @@
|
||||||
|
|
||||||
# This value determines the NixOS release from which the default
|
# This value determines the NixOS release from which the default
|
||||||
# settings for stateful data, like file locations and database versions
|
# settings for stateful data, like file locations and database versions
|
||||||
# on your system were taken. It‘s perfectly fine and recommended to leave
|
# on your system were taken. It's perfectly fine and recommended to leave
|
||||||
# this value at the release version of the first install of this system.
|
# this value at the release version of the first install of this system.
|
||||||
# Before changing this value read the documentation for this option
|
# Before changing this value read the documentation for this option
|
||||||
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
# (e.g. man configuration.nix or on https://nixos.org/nixos/options.html).
|
||||||
system.stateVersion = "25.05"; # Did you read the comment?
|
system.stateVersion = "25.05"; # Did you read the comment?
|
||||||
|
|
||||||
|
# Set user profile picture for GNOME
|
||||||
|
system.activationScripts.script.text = ''
|
||||||
|
mkdir -p /var/lib/AccountsService/{icons,users}
|
||||||
|
cp /home/jet/Documents/nixos-config/cat.png /var/lib/AccountsService/icons/jet
|
||||||
|
echo -e "[User]\nIcon=/var/lib/AccountsService/icons/jet\n" > /var/lib/AccountsService/users/jet
|
||||||
|
|
||||||
|
chown root:root /var/lib/AccountsService/users/jet
|
||||||
|
chmod 0600 /var/lib/AccountsService/users/jet
|
||||||
|
|
||||||
|
chown root:root /var/lib/AccountsService/icons/jet
|
||||||
|
chmod 0444 /var/lib/AccountsService/icons/jet
|
||||||
|
'';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
23
home.nix
23
home.nix
|
|
@ -73,6 +73,14 @@
|
||||||
direnv
|
direnv
|
||||||
mullvad-vpn
|
mullvad-vpn
|
||||||
gnomeExtensions.hide-top-bar
|
gnomeExtensions.hide-top-bar
|
||||||
|
signal-desktop
|
||||||
|
podman-tui
|
||||||
|
dive
|
||||||
|
passt
|
||||||
|
dbeaver-bin
|
||||||
|
insomnia
|
||||||
|
tree
|
||||||
|
logseq
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.zellij = {
|
programs.zellij = {
|
||||||
|
|
@ -83,11 +91,11 @@
|
||||||
# Default shell (using bash as configured in your system)
|
# Default shell (using bash as configured in your system)
|
||||||
default_shell = "bash";
|
default_shell = "bash";
|
||||||
default_layout = "compact";
|
default_layout = "compact";
|
||||||
copy_on_select = false;
|
|
||||||
pane_frames = false;
|
pane_frames = false;
|
||||||
|
|
||||||
# Mouse and interaction settings
|
# Mouse and interaction settings - enable for proper pane handling
|
||||||
mouse_mode = true;
|
mouse_mode = true;
|
||||||
|
copy_on_select = true;
|
||||||
|
|
||||||
show_startup_tips = false;
|
show_startup_tips = false;
|
||||||
show_release_notes = false;
|
show_release_notes = false;
|
||||||
|
|
@ -176,8 +184,9 @@
|
||||||
push-new-bookmarks = true;
|
push-new-bookmarks = true;
|
||||||
};
|
};
|
||||||
ui = {
|
ui = {
|
||||||
|
default-command = "log";
|
||||||
editor = "hx";
|
editor = "hx";
|
||||||
pager = "bat";
|
pager = "bat --style=plain";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
@ -202,4 +211,10 @@
|
||||||
"${pkgs.code-cursor}/share/applications/cursor.desktop"
|
"${pkgs.code-cursor}/share/applications/cursor.desktop"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
|
||||||
|
# Enable rootless Podman with Home Manager
|
||||||
|
services.podman = {
|
||||||
|
enable = true;
|
||||||
|
autoUpdate.enable = true;
|
||||||
|
};
|
||||||
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue