Compare commits

..

4 commits

4 changed files with 28 additions and 7 deletions

View file

@ -153,9 +153,6 @@ with builtins; {
users.users.jade = { users.users.jade = {
isNormalUser = true; isNormalUser = true;
extraGroups = ["wheel" "input" "uinput" "libvirtd" "adbusers" "dialout" "plugdev" "wireshark"]; extraGroups = ["wheel" "input" "uinput" "libvirtd" "adbusers" "dialout" "plugdev" "wireshark"];
packages = [
pkgs.marksman
];
openssh.authorizedKeys.keys = [ openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOaE8TFsIazpn4OnHvHcRpOFr9FfvMaWOiEjmHsmnAoE cardno:000F_70CD7D05" "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOaE8TFsIazpn4OnHvHcRpOFr9FfvMaWOiEjmHsmnAoE cardno:000F_70CD7D05"
]; ];

View file

@ -4,7 +4,7 @@ test:
sudo nixos-rebuild test --flake . --impure sudo nixos-rebuild test --flake . --impure
build: build:
sudo nixos-rebuild switch --flake . --impure sudo nixos-rebuild switch --flake . --impure --fast
update: update:
nix flake update --commit-lock-file nix flake update --commit-lock-file

View file

@ -1,4 +1,4 @@
{...}: { {pkgs, ...}: {
imports = [ imports = [
./shell ./shell
./desktop ./desktop
@ -7,4 +7,17 @@
./firewall.nix ./firewall.nix
./git.nix ./git.nix
]; ];
services.kmscon = {
enable = true;
fonts = [
{
name = "FiraCode Nerd Font";
package = pkgs.nerdfonts.override {fonts = ["FiraCode"];};
}
];
extraConfig = "font-size=14";
extraOptions = "--term xterm-256color";
hwRender = true;
};
} }

View file

@ -782,9 +782,9 @@ def start_zellij [] {
start_zellij start_zellij
def nsp [ def nsp [
program: string ...programs: string
] { ] {
nix shell $"nixpkgs#$program" nix shell ...($programs | each {|it| $"nixpkgs#($it)" })
} }
def lcr [ def lcr [
@ -806,6 +806,17 @@ def glog [
| split column "»¦«" commit subject name email date | split column "»¦«" commit subject name email date
} }
def ed [
file: path
...cmdargs: string
] {
let ext = $file | path parse | get extension;
match $ext {
"typ" => {|| zellij run --direction down -- typst watch $file --open ($cmdargs | str join ' ') }
};
hx $file
}
alias gnix = cd ~/nix-configs; alias gnix = cd ~/nix-configs;
alias grepo = cd ~/Documents/repos; alias grepo = cd ~/Documents/repos;
alias wh = wormhole-rs; alias wh = wormhole-rs;