Compare commits
18 commits
75a150feb4
...
1e500cd6be
Author | SHA1 | Date | |
---|---|---|---|
1e500cd6be | |||
8d89bc6772 | |||
172bf8b767 | |||
8e47abfe06 | |||
335361c496 | |||
f4a9b3dfe4 | |||
46ea10093a | |||
9b470b6a0c | |||
78ab4dd552 | |||
f573800e84 | |||
59afaae458 | |||
be7be14980 | |||
471b42cfec | |||
cc61e850ec | |||
651d41c163 | |||
e0e10c9e3e | |||
43ed8c7ed0 | |||
56831a98e8 |
|
@ -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": {
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -343,13 +343,13 @@ format-charging-prefix =
|
||||||
format-discharging = <ramp-capacity> <label-discharging>
|
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}
|
||||||
|
|
|
@ -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>
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
@ -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 = [ ];
|
||||||
|
|
|
@ -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 = {
|
||||||
|
|
|
@ -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" ]; #
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"
|
||||||
|
|
|
@ -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" ];
|
||||||
}
|
# }
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue