modularizing
This commit is contained in:
parent
8feca8cf94
commit
887f0b2bb1
7 changed files with 70 additions and 130 deletions
30
flake.lock
generated
30
flake.lock
generated
|
@ -70,11 +70,11 @@
|
||||||
"nixpkgs-stable": "nixpkgs-stable"
|
"nixpkgs-stable": "nixpkgs-stable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1741710368,
|
"lastModified": 1741771598,
|
||||||
"narHash": "sha256-P9Qt8QQC6cFssiIvNEmj8BabRZS7EWMqCrA3oNj70x4=",
|
"narHash": "sha256-nEfO1JskMvwDa0cf13LHdQO/QCM1ioCr8nU+ZOIO+ug=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "emacs-overlay",
|
"repo": "emacs-overlay",
|
||||||
"rev": "2695d53827b4200a195f932a5beb47fe5f9e3213",
|
"rev": "04d8748de599621ca0ae7f9766c489adf45d63de",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -339,11 +339,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1741701235,
|
"lastModified": 1741785612,
|
||||||
"narHash": "sha256-gBlb8R9gnjUAT5XabJeel3C2iEUiBHx3+91651y3Sqo=",
|
"narHash": "sha256-3NFLoC7AdenUJQHzPiHDYVBEgEIH6mGSbdx7GFbRURA=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "c630dfa8abcc65984cc1e47fb25d4552c81dd37e",
|
"rev": "144f13f535be35c906241043f6bfcf21c1c419a0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -726,11 +726,11 @@
|
||||||
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
"xwayland-satellite-unstable": "xwayland-satellite-unstable"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1741686876,
|
"lastModified": 1741758053,
|
||||||
"narHash": "sha256-Kt37Zm9YcQoe/aRVbPFydZcfwIrEAg/U+iz3FcxsOZs=",
|
"narHash": "sha256-rnPHLxMtJXpX8xo2Sb70iTidsUdXhuKT9673FQQzFzI=",
|
||||||
"owner": "sodiboo",
|
"owner": "sodiboo",
|
||||||
"repo": "niri-flake",
|
"repo": "niri-flake",
|
||||||
"rev": "fa230971ab63885ba5666588a7b78f75f73d5a85",
|
"rev": "cbd000ded3527a860178556090bdb4e8df3b5370",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1447,11 +1447,11 @@
|
||||||
"xwayland-satellite-unstable": {
|
"xwayland-satellite-unstable": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1741140299,
|
"lastModified": 1741757154,
|
||||||
"narHash": "sha256-Y2bPO92Yg5HcH5ORvrVOQb4wRGEapGEteHXGtNvboxk=",
|
"narHash": "sha256-Gr0m144I3kTZ4HZxOpAnQYyyhvyAAN0lEMrSQ3HyxMI=",
|
||||||
"owner": "Supreeeme",
|
"owner": "Supreeeme",
|
||||||
"repo": "xwayland-satellite",
|
"repo": "xwayland-satellite",
|
||||||
"rev": "10cb041a80bb815cc1789cfa305923f1f9e3713d",
|
"rev": "3c50b7da7963e299e47295352c9a1da1c37b4254",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1469,11 +1469,11 @@
|
||||||
"rust-overlay": "rust-overlay_2"
|
"rust-overlay": "rust-overlay_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1741677570,
|
"lastModified": 1741760227,
|
||||||
"narHash": "sha256-huQexOJPJ+tASUxRw8cAXTPvu6Qh043hatH+PFGBgeg=",
|
"narHash": "sha256-5yZ3FQZFG0DSssr8NRa+JWGOojHLDFG2L+icNVnj+tw=",
|
||||||
"owner": "sxyazi",
|
"owner": "sxyazi",
|
||||||
"repo": "yazi",
|
"repo": "yazi",
|
||||||
"rev": "faee35fc44bd6cfe924410f1a3dc3b8b8eb12fa5",
|
"rev": "abfbd1cd9f0dd428d134f257ec89c25dac842b65",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -21,28 +21,13 @@
|
||||||
]
|
]
|
||||||
|
|
||||||
(with pkgs; [
|
(with pkgs; [
|
||||||
# sambaFull
|
|
||||||
dconf
|
dconf
|
||||||
# xorg.libX11
|
|
||||||
# xorg.libxcb
|
|
||||||
# freetype
|
|
||||||
# alsa-utils
|
|
||||||
# alsa-oss
|
|
||||||
# dbus
|
|
||||||
cifs-utils
|
cifs-utils
|
||||||
sops
|
sops
|
||||||
|
(btop.override { cudaSupport = true; rocmSupport = true; })
|
||||||
ispell
|
ispell
|
||||||
(aspellWithDicts (dicts: with dicts; [ en en-computers en-science es fr ]))
|
(aspellWithDicts (dicts: with dicts; [ en en-computers en-science es fr ]))
|
||||||
texlive.combined.scheme-full
|
texlive.combined.scheme-full
|
||||||
|
|
||||||
# spice
|
|
||||||
# spice-gtk
|
|
||||||
# spice-protocol
|
|
||||||
# virt-viewer
|
|
||||||
|
|
||||||
|
|
||||||
# borgbackup
|
|
||||||
])
|
])
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -102,45 +87,6 @@
|
||||||
pandoc.enable = true;
|
pandoc.enable = true;
|
||||||
password-store.enable = true;
|
password-store.enable = true;
|
||||||
|
|
||||||
git = {
|
|
||||||
enable = true;
|
|
||||||
lfs = {
|
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
userEmail = "matt@emenel.ca";
|
|
||||||
userName = "Matt Nish-Lapidus";
|
|
||||||
ignores = [
|
|
||||||
".DS_Store"
|
|
||||||
];
|
|
||||||
extraConfig = {
|
|
||||||
core = {
|
|
||||||
editor = "$EDITOR";
|
|
||||||
pager = "${pkgs.delta}/bin/delta";
|
|
||||||
};
|
|
||||||
interactive = {
|
|
||||||
diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
|
||||||
};
|
|
||||||
delta = {
|
|
||||||
navigate = true;
|
|
||||||
dark = true;
|
|
||||||
line-numbers = true;
|
|
||||||
side-by-side = true;
|
|
||||||
};
|
|
||||||
merge = {
|
|
||||||
conflictstyle = "zdiff3";
|
|
||||||
};
|
|
||||||
init = {
|
|
||||||
defaultBranch = "main";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
aliases = {
|
|
||||||
co = "checkout";
|
|
||||||
cm = "commit -m";
|
|
||||||
aa = "add .";
|
|
||||||
p = "push";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
borgmatic = {
|
borgmatic = {
|
||||||
enable = true;
|
enable = true;
|
||||||
backups = {
|
backups = {
|
||||||
|
|
|
@ -1,5 +0,0 @@
|
||||||
#!/usr/bin/env fish
|
|
||||||
|
|
||||||
function beet-import --description 'import new music on media server from the import dir'
|
|
||||||
ssh media@media-server -x "beet import -amw ~/import/"
|
|
||||||
end
|
|
|
@ -9,6 +9,7 @@
|
||||||
home = {
|
home = {
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
beets
|
beets
|
||||||
|
btop
|
||||||
];
|
];
|
||||||
|
|
||||||
username = "media";
|
username = "media";
|
||||||
|
|
|
@ -18,6 +18,10 @@ let
|
||||||
epkgs.pdf-tools
|
epkgs.pdf-tools
|
||||||
epkgs.all-the-icons
|
epkgs.all-the-icons
|
||||||
epkgs.eldoc
|
epkgs.eldoc
|
||||||
|
epkgs.tablist
|
||||||
|
epkgs.parseedn
|
||||||
|
epkgs.parseclj
|
||||||
|
epkgs.track-changes
|
||||||
]
|
]
|
||||||
));
|
));
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -1,42 +1,48 @@
|
||||||
{ pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
programs.git = {
|
home.packages = with pkgs; [
|
||||||
|
# git-annex
|
||||||
|
bfg-repo-cleaner
|
||||||
|
delta
|
||||||
|
];
|
||||||
|
|
||||||
|
programs.git = {
|
||||||
|
enable = true;
|
||||||
|
lfs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
lfs = {
|
};
|
||||||
enable = true;
|
userEmail = "matt@emenel.ca";
|
||||||
|
userName = "Matt Nish-Lapidus";
|
||||||
|
ignores = [
|
||||||
|
".DS_Store"
|
||||||
|
];
|
||||||
|
extraConfig = {
|
||||||
|
core = {
|
||||||
|
editor = "$EDITOR";
|
||||||
|
pager = "${pkgs.delta}/bin/delta";
|
||||||
};
|
};
|
||||||
userEmail = "matt@emenel.ca";
|
interactive = {
|
||||||
userName = "Matt Nish-Lapidus";
|
diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
||||||
ignores = [
|
|
||||||
".DS_Store"
|
|
||||||
];
|
|
||||||
extraConfig = {
|
|
||||||
core = {
|
|
||||||
editor = "$EDITOR";
|
|
||||||
pager = "${pkgs.delta}/bin/delta";
|
|
||||||
};
|
|
||||||
interactive = {
|
|
||||||
diffFilter = "${pkgs.delta}/bin/delta --color-only";
|
|
||||||
};
|
|
||||||
delta = {
|
|
||||||
navigate = true;
|
|
||||||
dark = true;
|
|
||||||
line-numbers = true;
|
|
||||||
side-by-side = true;
|
|
||||||
};
|
|
||||||
merge = {
|
|
||||||
conflictstyle = "zdiff3";
|
|
||||||
};
|
|
||||||
init = {
|
|
||||||
defaultBranch = "main";
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
aliases = {
|
delta = {
|
||||||
co = "checkout";
|
navigate = true;
|
||||||
cm = "commit -m";
|
dark = true;
|
||||||
aa = "add .";
|
line-numbers = true;
|
||||||
p = "push";
|
side-by-side = true;
|
||||||
|
};
|
||||||
|
merge = {
|
||||||
|
conflictstyle = "zdiff3";
|
||||||
|
};
|
||||||
|
init = {
|
||||||
|
defaultBranch = "main";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
aliases = {
|
||||||
|
co = "checkout";
|
||||||
|
cm = "commit -m";
|
||||||
|
a = "add .";
|
||||||
|
p = "push";
|
||||||
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -23,12 +23,9 @@
|
||||||
zip
|
zip
|
||||||
tldr
|
tldr
|
||||||
rich-cli
|
rich-cli
|
||||||
(btop-rocm.override { cudaSupport = true; })
|
|
||||||
gnupg
|
gnupg
|
||||||
imagemagick
|
imagemagick
|
||||||
gnutls
|
|
||||||
# gettext
|
|
||||||
gnumake
|
|
||||||
nix-du
|
nix-du
|
||||||
nix-melt
|
nix-melt
|
||||||
usbutils
|
usbutils
|
||||||
|
@ -40,27 +37,22 @@
|
||||||
exiftool
|
exiftool
|
||||||
libsecret
|
libsecret
|
||||||
shellcheck
|
shellcheck
|
||||||
# libffi.dev
|
|
||||||
# nodejs_18
|
|
||||||
# platformio-core
|
|
||||||
icloudpd
|
icloudpd
|
||||||
pkg-config
|
pkg-config
|
||||||
# ftgl
|
|
||||||
# gperf
|
|
||||||
numbat
|
numbat
|
||||||
# glpng
|
|
||||||
nurl
|
nurl
|
||||||
fastfetch
|
fastfetch
|
||||||
nvd
|
nvd
|
||||||
ripgrep-all
|
ripgrep-all
|
||||||
silver-searcher
|
silver-searcher
|
||||||
# powertop
|
|
||||||
age
|
|
||||||
# kdotool
|
|
||||||
manix
|
|
||||||
|
|
||||||
|
age
|
||||||
|
manix
|
||||||
caligula
|
caligula
|
||||||
# sqlite
|
|
||||||
|
|
||||||
yaml-language-server
|
yaml-language-server
|
||||||
typescript-language-server
|
typescript-language-server
|
||||||
|
@ -85,8 +77,6 @@
|
||||||
haskell-language-server
|
haskell-language-server
|
||||||
emacs-lsp-booster
|
emacs-lsp-booster
|
||||||
|
|
||||||
zstd
|
|
||||||
|
|
||||||
black
|
black
|
||||||
jsbeautifier
|
jsbeautifier
|
||||||
typescript
|
typescript
|
||||||
|
@ -100,9 +90,6 @@
|
||||||
|
|
||||||
dua
|
dua
|
||||||
|
|
||||||
# git-annex
|
|
||||||
bfg-repo-cleaner
|
|
||||||
delta
|
|
||||||
tree
|
tree
|
||||||
emoji-picker
|
emoji-picker
|
||||||
|
|
||||||
|
@ -113,13 +100,14 @@
|
||||||
fishPlugins.forgit
|
fishPlugins.forgit
|
||||||
fishPlugins.colored-man-pages
|
fishPlugins.colored-man-pages
|
||||||
|
|
||||||
|
sox
|
||||||
|
|
||||||
imgcat
|
imgcat
|
||||||
ghostscript
|
ghostscript
|
||||||
playerctl
|
playerctl
|
||||||
|
|
||||||
tesseract
|
tesseract
|
||||||
# alsa-utils
|
|
||||||
# alsa-tools
|
|
||||||
dockfmt
|
dockfmt
|
||||||
|
|
||||||
trash-cli
|
trash-cli
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue