feat: try to integrate kde plasma config'

This commit is contained in:
Florian Schmitt 2024-02-15 22:36:26 +03:00
parent f5df772d81
commit 20b8abae0a
2 changed files with 296 additions and 246 deletions

View file

@ -1,6 +1,12 @@
# Inject the right home-manager config for the machine. # Inject the right home-manager config for the machine.
{ config, pkgs, lib, ... }: { config, pkgs, lib, ... }:
let let
plasma-manager = pkgs.fetchFromGitHub {
owner = "pjones";
repo = "plasma-manager";
rev = "4e56cfeb95081a43cb49487d0996dc936d6201e5";
sha256 = "sha256-LJ/lFEupLSi7xtUps234hhMk7ZdVLRoYeU7KiCFaoGw=";
};
treesitterWithGrammars = (pkgs.vimPlugins.nvim-treesitter.withPlugins (p: [ treesitterWithGrammars = (pkgs.vimPlugins.nvim-treesitter.withPlugins (p: [
p.bash p.bash
p.comment p.comment
@ -42,7 +48,9 @@ let
in { in {
# TODO can we automate the installation of home-manager ? # TODO can we automate the installation of home-manager ?
# sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager # sudo nix-channel --add https://github.com/nix-community/home-manager/archive/release-23.11.tar.gz home-manager
imports = [ <home-manager/nixos> ]; imports = [
<home-manager/nixos>
];
# Let Home Manager install and manage itself. # Let Home Manager install and manage itself.
#programs.home-manager.enable = true; #programs.home-manager.enable = true;
@ -77,6 +85,10 @@ in {
yarn yarn
]; ];
imports = [
(plasma-manager + "/modules")
./home-plasma.nix
];
home.file = { home.file = {
"./.config/kitty/" = { "./.config/kitty/" = {
source = ../dotfiles/kitty; source = ../dotfiles/kitty;

File diff suppressed because it is too large Load diff