Compare commits

...

18 commits

Author SHA1 Message Date
Anish Lakhwara 1e500cd6be Merge branch 'main' of git.sealight.xyz:aynish/helm 2023-11-05 01:33:56 -07:00
Anish Lakhwara 8d89bc6772 fix(lituus): correct uuid for block storage 2023-11-05 01:33:20 -07:00
Anish Lakhwara 172bf8b767 feat(curve): add signal-desktop 2023-11-05 01:33:03 -07:00
Anish Lakhwara 8e47abfe06 update unstable 2023-11-05 01:32:53 -07:00
Anish Lakhwara 335361c496 feat(curve): add kalpana to production
it generates backlinks and indexs in a more reliable way
2023-11-05 01:31:36 -07:00
Anish Lakhwara f4a9b3dfe4 Merge branch 'main' of git.sealight.xyz:aynish/helm 2023-10-24 15:21:38 -07:00
Anish Lakhwara 46ea10093a all: update flake.lock 2023-10-24 15:19:04 -07:00
Anish Lakhwara 9b470b6a0c all: pin nixpkgs flake registry to stable nixpkgs 2023-10-24 15:18:45 -07:00
Anish Lakhwara 78ab4dd552 curve: add screen recording to screeshot script 2023-10-24 15:18:27 -07:00
Anish Lakhwara f573800e84 curve: include kontact and thunderbird 2023-10-24 15:18:15 -07:00
Anish Lakhwara 59afaae458 curve: fix polybar 2023-10-24 15:17:59 -07:00
Anish Lakhwara be7be14980 nvim: fennel repl in conjure (instead of love) 2023-10-24 15:17:34 -07:00
Anish Lakhwara 471b42cfec curve: disable k8s 2023-10-24 15:17:22 -07:00
Anish Lakhwara cc61e850ec curve: xdg portal 2023-10-24 15:16:58 -07:00
Anish Lakhwara 651d41c163 k8s: include kubectl by default, disable libvirtd 2023-10-24 15:16:36 -07:00
Anish Lakhwara e0e10c9e3e curve: open pdfs in zathura through mimetypes 2023-10-24 15:16:05 -07:00
Anish Lakhwara 43ed8c7ed0 hyperplane: don't include in wireguard (yet) 2023-10-24 15:15:48 -07:00
Anish Lakhwara 56831a98e8 curve: add light to installed programs 2023-08-21 18:03:33 -07:00
13 changed files with 53 additions and 26 deletions

View file

@ -636,11 +636,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1691186842, "lastModified": 1698611440,
"narHash": "sha256-wxBVCvZUwq+XS4N4t9NqsHV4E64cPVqQ2fdDISpjcw0=", "narHash": "sha256-jPjHjrerhYDy3q9+s5EAsuhyhuknNfowY6yt6pjn9pc=",
"owner": "nixos", "owner": "nixos",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "18036c0be90f4e308ae3ebcab0e14aae0336fe42", "rev": "0cbe9f69c234a7700596e943bfae7ef27a31b735",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -171,6 +171,7 @@
nixos-hardware.nixosModules.lenovo-thinkpad-x270 nixos-hardware.nixosModules.lenovo-thinkpad-x270
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
nix.registry.nixpkgs.flake = nixpkgs;
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.anish = import ./home/gui; home-manager.users.anish = import ./home/gui;
@ -239,6 +240,7 @@
grasp.nixosModule grasp.nixosModule
home-manager.nixosModules.home-manager home-manager.nixosModules.home-manager
{ {
nix.registry.nixpkgs.flake = nixpkgs;
home-manager.useGlobalPkgs = true; home-manager.useGlobalPkgs = true;
home-manager.useUserPackages = true; home-manager.useUserPackages = true;
home-manager.users.anish = import ./home/core; home-manager.users.anish = import ./home/core;
@ -264,6 +266,7 @@
box = { box = {
hostname = "mossnet.lan"; hostname = "mossnet.lan";
autoRollback = false; autoRollback = false;
magicRollback = false;
profiles.system = { profiles.system = {
user = "root"; user = "root";
path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.box; path = deploy-rs.lib.x86_64-linux.activate.nixos self.nixosConfigurations.box;

View file

@ -6,6 +6,7 @@ timer=5
select="󰩭 " select="󰩭 "
window=" " window=" "
screen=" " screen=" "
record=" "
delay="󱑃 " delay="󱑃 "
cancel="󰜺 " cancel="󰜺 "
@ -50,4 +51,6 @@ case $chosen in
| tee $filepath | xclip -selection c -t image/png | tee $filepath | xclip -selection c -t image/png
notify notify
;; ;;
$record)
kooha
esac esac

View file

@ -31,6 +31,8 @@ in
inotify-tools inotify-tools
offpunk offpunk
termpdfpy termpdfpy
libsForQt5.kontact
thunderbird
]; ];
# GTK4 color scheme? # GTK4 color scheme?
@ -47,6 +49,9 @@ in
"Kvantum/Dracula/Dracula.kvconfig".source = "${dracula-gtk}/kde/kvantum/Dracula-purple-solid/Dracula-purple-solid.kvconfig"; "Kvantum/Dracula/Dracula.kvconfig".source = "${dracula-gtk}/kde/kvantum/Dracula-purple-solid/Dracula-purple-solid.kvconfig";
"Kvantum/Dracula/Dracula.svg".source = "${dracula-gtk}/kde/kvantum/Dracula-purple-solid/Dracula-purple-solid.svg"; "Kvantum/Dracula/Dracula.svg".source = "${dracula-gtk}/kde/kvantum/Dracula-purple-solid/Dracula-purple-solid.svg";
"Kvantum/kvantum.kvconfig".text = "[General]\ntheme=Dracula"; "Kvantum/kvantum.kvconfig".text = "[General]\ntheme=Dracula";
};
xdg.mimeApps.defaultApplications = {
}; };
home.file = { home.file = {
".config/bspwm/rc.d/polybar".source = ./run.sh; ".config/bspwm/rc.d/polybar".source = ./run.sh;

View file

@ -344,12 +344,12 @@ format-discharging = <ramp-capacity> <label-discharging>
format-full = <label-full> format-full = <label-full>
format-full-prefix = " " format-full-prefix = " "
format-full-prefix-font = 1 format-full-prefix-font = 2
format-full-prefix-foreground = ${colors.sky} format-full-prefix-foreground = ${colors.sky}
label-charging = "%percentage%% " label-charging = "%percentage%% "
label-discharging = "%percentage%% " label-discharging = "%percentage%% "
label-full = "%percentage%% " label-full = "%percentage%%"
label-charging-foreground = ${colors.sky} label-charging-foreground = ${colors.sky}
label-discharging-foreground = ${colors.sky} label-discharging-foreground = ${colors.sky}

View file

@ -269,8 +269,8 @@ in
" Sexp in Conjure (since it's fennel) " Sexp in Conjure (since it's fennel)
let g:sexp_filetypes = "clojure,scheme,lisp,janet,fennel,yuck" let g:sexp_filetypes = "clojure,scheme,lisp,janet,fennel,yuck"
let g:conjure#filetype#fennel = "conjure.client.fennel.stdio" let g:conjure#filetype#fennel = "conjure.client.fennel.stdio"
" we only use fennel with love " we only use fennel with love; no we don't...
let g:conjure#client#fennel#stdio#command = "love ." let g:conjure#client#fennel#stdio#command = "fennel"
" let g:conjure#extract#tree_sitter#enabled = true " let g:conjure#extract#tree_sitter#enabled = true
map <localleader>lt :ConjureLogToggle<CR> map <localleader>lt :ConjureLogToggle<CR>

View file

@ -8,8 +8,11 @@ let
PATH=/run/current-system/sw/bin:/etc/profiles/per-user/anish/bin: PATH=/run/current-system/sw/bin:/etc/profiles/per-user/anish/bin:
cd /home/anish/kitaab cd /home/anish/kitaab
vimwiki tags rebuild vimwiki tags rebuild
python3 poonam/main.py generateindexs # python3 poonam/main.py generateindexs
python3 poonam/main.py generatebacklinks # python3 poonam/main.py generatebacklinks
pushd kalpana/
fennel main.fnl
popd
git add -A ./vimwiki/ git add -A ./vimwiki/
git diff-index --quiet HEAD || git commit -m 'syncing kitaab' # if nothing, don't exit 1 git diff-index --quiet HEAD || git commit -m 'syncing kitaab' # if nothing, don't exit 1
git push git push

View file

@ -12,7 +12,7 @@
../profiles/mimetypes ../profiles/mimetypes
../profiles/syncthing ../profiles/syncthing
../profiles/mossnet-hosts ../profiles/mossnet-hosts
../profiles/kuberenetes # ../profiles/kuberenetes
# ../profiles/mount-mossnet # ../profiles/mount-mossnet
]; ];

View file

@ -16,8 +16,13 @@
fileSystems."/" = fileSystems."/" =
{ {
device = "/dev/disk/by-uuid/7c560634-d545-41cc-b375-42ce3037fd73"; device = "/dev/disk/by-uuid/3b8b2c4b-835e-4822-8ac8-0effdc8270d6";
fsType = "ext4"; fsType = "btrfs";
};
fileSystems."/storage" =
{ device = "/dev/disk/by-uuid/c2181608-cbb0-40ab-b62b-158cdc9b9300";
fsType = "btrfs";
}; };
swapDevices = [ ]; swapDevices = [ ];

View file

@ -64,12 +64,14 @@ in
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
unstable.sublime-music unstable.sublime-music
unstable.nheko unstable.nheko
unstable.signal-desktop
unstable.tuba unstable.tuba
unstable.newsflash unstable.newsflash
unstable.liferea unstable.liferea
unstable.gh
scrot kooha
ripcord light
xfce.orage xfce.orage
feh feh
sxiv sxiv
@ -77,7 +79,6 @@ in
vcv-rack vcv-rack
zathura zathura
calibre calibre
fractal
mpv mpv
zeal zeal
xclip xclip
@ -85,7 +86,7 @@ in
rofi rofi
rofimoji rofimoji
rofi-calc rofi-calc
eww # eww
obs-studio obs-studio
lightdm lightdm
dunst dunst
@ -97,12 +98,19 @@ in
papirus-icon-theme papirus-icon-theme
calendar-cli calendar-cli
wyrd wyrd
tex
tic-80 tic-80
ytfzf ytfzf
yt-dlp yt-dlp
]; ];
xdg.portal = {
# Breaks link clicking in nheko
# Portal doesn't seem to find Firefox as an acceptable app to open links?
enable = false;
extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
xdgOpenUsePortal = false;
};
location.provider = "geoclue2"; location.provider = "geoclue2";
services = { services = {
redshift = { redshift = {

View file

@ -9,12 +9,12 @@
# services.k3s.extraFlags = toString [ # services.k3s.extraFlags = toString [
# "--kubelet-arg=v=4" # Optionally add additional args to k3s # "--kubelet-arg=v=4" # Optionally add additional args to k3s
# ]; # ];
environment.systemPackages = [ pkgs.k3s pkgs.kubernetes-helm ]; environment.systemPackages = [ pkgs.k3s pkgs.kubernetes-helm pkgs.kubectl ];
# minikube on docker # minikube on docker
virtualisation.docker.enable = true; virtualisation.docker.enable = true;
virtualisation.docker.storageDriver = "btrfs"; virtualisation.docker.storageDriver = "btrfs";
# or use kvm # or use kvm
virtualisation.libvirtd.enable = true; # virtualisation.libvirtd.enable = true;
users.users.anish.extraGroups = [ "docker" "libvert" ]; # users.users.anish.extraGroups = [ "docker" "libvert" ]; #
} }

View file

@ -2,7 +2,7 @@
{ {
xdg.mime.defaultApplications = { xdg.mime.defaultApplications = {
"application/pdf" = "firefox.desktop"; "application/pdf" = "zathura.desktop";
"image/png" = [ "image/png" = [
"sxiv.desktop" "sxiv.desktop"
"feh.desktop" "feh.desktop"

View file

@ -36,11 +36,11 @@
publicKey = "gcdq86hhEUlqF2chqYB/F8pALyAMNFvwLycxBoHuoDs="; publicKey = "gcdq86hhEUlqF2chqYB/F8pALyAMNFvwLycxBoHuoDs=";
allowedIPs = [ "10.0.69.5/32" ]; allowedIPs = [ "10.0.69.5/32" ];
} }
{ # {
# hyperplane # # hyperplane
publicKey = ""; # publicKey = "";
allowedIPs = [ "10.0.69.6/32" ]; # allowedIPs = [ "10.0.69.6/32" ];
} # }
]; ];
}; };
} }