Compare commits
4 commits
3f733a569d
...
7780fd442b
Author | SHA1 | Date | |
---|---|---|---|
7780fd442b | |||
f33c9ae161 | |||
dc52ae747d | |||
e7d42763e3 |
4 changed files with 28 additions and 7 deletions
|
@ -153,9 +153,6 @@ with builtins; {
|
|||
users.users.jade = {
|
||||
isNormalUser = true;
|
||||
extraGroups = ["wheel" "input" "uinput" "libvirtd" "adbusers" "dialout" "plugdev" "wireshark"];
|
||||
packages = [
|
||||
pkgs.marksman
|
||||
];
|
||||
openssh.authorizedKeys.keys = [
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOaE8TFsIazpn4OnHvHcRpOFr9FfvMaWOiEjmHsmnAoE cardno:000F_70CD7D05"
|
||||
];
|
||||
|
|
2
justfile
2
justfile
|
@ -4,7 +4,7 @@ test:
|
|||
sudo nixos-rebuild test --flake . --impure
|
||||
|
||||
build:
|
||||
sudo nixos-rebuild switch --flake . --impure
|
||||
sudo nixos-rebuild switch --flake . --impure --fast
|
||||
|
||||
update:
|
||||
nix flake update --commit-lock-file
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{...}: {
|
||||
{pkgs, ...}: {
|
||||
imports = [
|
||||
./shell
|
||||
./desktop
|
||||
|
@ -7,4 +7,17 @@
|
|||
./firewall.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;
|
||||
};
|
||||
}
|
||||
|
|
|
@ -782,9 +782,9 @@ def start_zellij [] {
|
|||
start_zellij
|
||||
|
||||
def nsp [
|
||||
program: string
|
||||
...programs: string
|
||||
] {
|
||||
nix shell $"nixpkgs#$program"
|
||||
nix shell ...($programs | each {|it| $"nixpkgs#($it)" })
|
||||
}
|
||||
|
||||
def lcr [
|
||||
|
@ -806,6 +806,17 @@ def glog [
|
|||
| 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 grepo = cd ~/Documents/repos;
|
||||
alias wh = wormhole-rs;
|
||||
|
|
Loading…
Reference in a new issue