kardorf: more migration from nixos to home-manager

This commit is contained in:
2024-03-18 15:09:36 +01:00
parent 4f0fe50d0a
commit fdd53faa62
9 changed files with 261 additions and 279 deletions

View File

@ -39,37 +39,12 @@ config, ... }: {
rofi.enable = true;
};
home.packages = with pkgs; [
# Code formatters for use with doom emacs
nixfmt # nix
dockfmt # docker
google-java-format # java
# Lsps for use with doom emacs
# neocmakelsp # cmake
# Rust setup
rustc
rustfmt
cargo
clippy
rust-analyzer
# Further tools
(lib.frajul.my-helper-function lazygit)
languagetool
# (pkgs.nerdfonts.override { fonts = [ "FantasqueSansMono" ]; })
# (pkgs.writeShellScriptBin "my-hello" ''
# echo "Hello, ${config.home.username}!"
# '')
## My scripts
pkgs.frajul.deploy-to-pianopi
pkgs.frajul.edit-config
];
home.packages = lib.lists.concatMap
(packages-list-file: import packages-list-file { inherit pkgs; }) [
./fonts.nix
./packages.nix
];
fonts.fontconfig.enable = true; # required to autoload fonts from packages
home.file = {
# # Building this configuration will create a copy of 'dotfiles/screenrc' in