ADD : un bloc note sur Nixos

master
Alexandre LUCAZEAU 2022-01-14 21:06:30 +01:00
parent a20b76577a
commit 4c196f8e09
1 changed files with 22 additions and 0 deletions

22
posts/Nixos/bloc_notes.md Normal file
View File

@ -0,0 +1,22 @@
---
date: 2022-01-12
author: Alexandre LUCAZEAU
title: Associer un fichier de configuration à l'installation d'un paquet
tags:
- nixos
categories :
- nixos
draft: false
description : "Associer un fichier de configuration à l'installation d'un paquet"
---
# Associer un fichier à un paquet
{ pkgs, ... }:
{
home = {
packages = with pkgs; [ zathura ];
file.".config/zathura/zathurarc".source = ./zathurarc;
};
}