test
This commit is contained in:
parent
39f608c4ca
commit
5e9cf56185
13 changed files with 60 additions and 42 deletions
27
README.md
27
README.md
|
|
@ -68,3 +68,30 @@ nix search nixpkgs nom_du_package
|
||||||
2. Package pas encore dans nixpkgs : chercher un flake upstream officiel (packages.<system>.degault), ajouter comme input et le référencer
|
2. Package pas encore dans nixpkgs : chercher un flake upstream officiel (packages.<system>.degault), ajouter comme input et le référencer
|
||||||
### Machine ancienne
|
### Machine ancienne
|
||||||
Bien utiliser la version `laptop` qui prend la plupart des paquets par cachix (pour éviter la compilation en locale qui dépasse les capacités de la RAM)
|
Bien utiliser la version `laptop` qui prend la plupart des paquets par cachix (pour éviter la compilation en locale qui dépasse les capacités de la RAM)
|
||||||
|
|
||||||
|
### Ensuite
|
||||||
|
#### Thunderbird
|
||||||
|
Générer clé GPG
|
||||||
|
`gpg --quick-generate-key "afoucaultc" default default never`
|
||||||
|
Afficher la clé
|
||||||
|
`gpg --list-secret-keys --keyid-format=long`
|
||||||
|
Initialiser avec pass (empreinte = dernière partie après sec)
|
||||||
|
`pass init <empreinte>`
|
||||||
|
Fermer en partie les permissions sur .gnupg
|
||||||
|
```bash
|
||||||
|
chmod 700 ~/.gnupg
|
||||||
|
chmod 600 ~/.gnupg/* 2>/dev/null
|
||||||
|
find ~/.gnupg -type d -exec chmod 700 {} \;
|
||||||
|
find ~/.gnupg -type f -exec chmod 600 {} \;
|
||||||
|
```
|
||||||
|
Lancer le proton mail bridge
|
||||||
|
```shell
|
||||||
|
protonmail-bridge --cli
|
||||||
|
>>> login #(puis se login)
|
||||||
|
```
|
||||||
|
Ensuite normalement c'est bon, taper "info" pour récupérer le mot de passe
|
||||||
|
Puis `cert export` et le mettre dans le home par exemple. Ensuite :
|
||||||
|
`parametres -> vie privée et sécurité -> certificats -> gérer -> autorités -> importer`
|
||||||
|
Importer et cocher site web.
|
||||||
|
|
||||||
|
Puis se connecter à son compte sur thunderbird : il faut faire `info` sur le protonmail bridge, pour récupérer son mot de passe, puis valider l'exception pour le certificat.
|
||||||
|
|
|
||||||
|
|
@ -9,5 +9,5 @@ hl.on("hyprland.start", function()
|
||||||
-- hl.exec_cmd("hyprsunset")
|
-- hl.exec_cmd("hyprsunset")
|
||||||
-- hl.exec_cmd("xsettingsd")
|
-- hl.exec_cmd("xsettingsd")
|
||||||
-- hl.exec_cmd("nwg-look -a")
|
-- hl.exec_cmd("nwg-look -a")
|
||||||
hl.exec_cmd("protonmail-bridge")
|
hl.exec_cmd("protonmail-bridge --noninteractive")
|
||||||
end)
|
end)
|
||||||
|
|
|
||||||
|
|
@ -1,11 +1,11 @@
|
||||||
wallpaper {
|
wallpaper {
|
||||||
monitor = eDP-1
|
monitor = eDP-1
|
||||||
path = /home/afoucaultc/Pictures/Wallpapers/nix-wallpaper.png
|
path = /home/afoucaultc/Pictures/Wallpapers/wallpaper.jpg
|
||||||
fit_mode = cover
|
fit_mode = cover
|
||||||
}
|
}
|
||||||
wallpaper {
|
wallpaper {
|
||||||
monitor = HDMI-A-1
|
monitor = HDMI-A-1
|
||||||
path = /home/afoucaultc/Pictures/Wallpapers/nix-wallpaper.png
|
path = /home/afoucaultc/Pictures/Wallpapers/wallpaper.jpg
|
||||||
fit_mode = cover
|
fit_mode = cover
|
||||||
}
|
}
|
||||||
splash = false
|
splash = false
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,10 @@
|
||||||
Count=1
|
Count=1
|
||||||
|
|
||||||
[Window0Column0]
|
[Window0Column0]
|
||||||
Notebook0Dialogs=ObjectProperties;FillStroke;Export;AlignDistribute;Text;
|
Notebook0Dialogs=ObjectProperties;FillStroke;Export;AlignDistribute;Text;Objects;
|
||||||
Notebook0Height=609
|
Notebook0Height=921
|
||||||
Notebook0ActiveTab=2
|
Notebook0ActiveTab=1
|
||||||
ColumnWidth=641
|
ColumnWidth=540
|
||||||
NotebookCount=1
|
NotebookCount=1
|
||||||
BeforeCanvas=false
|
BeforeCanvas=false
|
||||||
|
|
||||||
|
|
@ -28,10 +28,8 @@ state6=
|
||||||
dialogs6=FilterGallery;
|
dialogs6=FilterGallery;
|
||||||
state7=
|
state7=
|
||||||
dialogs7=FontCollections;
|
dialogs7=FontCollections;
|
||||||
state8=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=Objects;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=360\nheight=520\n
|
state8=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=Preferences;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=1447\nheight=672\n
|
||||||
dialogs8=Objects;
|
dialogs8=Preferences;
|
||||||
state9=[Windows]\nCount=1\n\n[Window0Column0]\nNotebook0Dialogs=Preferences;\nNotebookCount=1\n\n[Window0]\nColumnCount=1\nPosition=true\nx=0\ny=0\nwidth=1447\nheight=672\n
|
state9=
|
||||||
dialogs9=Preferences;
|
dialogs9=XMLEditor;
|
||||||
state10=
|
count=9
|
||||||
dialogs10=XMLEditor;
|
|
||||||
count=10
|
|
||||||
|
|
|
||||||
|
|
@ -3,16 +3,16 @@ L'extension « Optimized PNG » n'a pas été chargée, car une dépendance e
|
||||||
emplacement: chemin
|
emplacement: chemin
|
||||||
chaîne: optipng
|
chaîne: optipng
|
||||||
|
|
||||||
L'extension « Export to PDF via Scribus » n'a pas été chargée, car une dépendance est manquante. Dépendance:
|
|
||||||
type: executable
|
|
||||||
emplacement: chemin
|
|
||||||
chaîne: scribus
|
|
||||||
|
|
||||||
L'extension « Formula (typst) » n'a pas été chargée, car une dépendance est manquante. Dépendance:
|
L'extension « Formula (typst) » n'a pas été chargée, car une dépendance est manquante. Dépendance:
|
||||||
type: executable
|
type: executable
|
||||||
emplacement: chemin
|
emplacement: chemin
|
||||||
chaîne: typst
|
chaîne: typst
|
||||||
|
|
||||||
|
L'extension « Export to PDF via Scribus » n'a pas été chargée, car une dépendance est manquante. Dépendance:
|
||||||
|
type: executable
|
||||||
|
emplacement: chemin
|
||||||
|
chaîne: scribus
|
||||||
|
|
||||||
L'extension « XFIG Input » n'a pas été chargée, car une dépendance est manquante. Dépendance:
|
L'extension « XFIG Input » n'a pas été chargée, car une dépendance est manquante. Dépendance:
|
||||||
type: executable
|
type: executable
|
||||||
emplacement: chemin
|
emplacement: chemin
|
||||||
|
|
|
||||||
|
|
@ -596,7 +596,7 @@
|
||||||
id="toolbox" />
|
id="toolbox" />
|
||||||
<group
|
<group
|
||||||
id="fillstroke"
|
id="fillstroke"
|
||||||
page="2" />
|
page="1" />
|
||||||
<group
|
<group
|
||||||
id="filtereffects" />
|
id="filtereffects" />
|
||||||
<group
|
<group
|
||||||
|
|
@ -1106,10 +1106,10 @@
|
||||||
org.inkscape.input.svg.scale="auto" />
|
org.inkscape.input.svg.scale="auto" />
|
||||||
<group
|
<group
|
||||||
id="desktop"
|
id="desktop"
|
||||||
style="text-orientation:auto;-inkscape-font-specification:'Sans, Normal';font-family:Sans;stroke-linejoin:bevel;stroke-width:0.62740157;font-size:8px;fill:#6c71c4">
|
style="text-orientation:auto;-inkscape-font-specification:'Sans, Normal';font-family:Sans;stroke-linejoin:bevel;stroke-width:2.64944882;font-size:8px;fill:#1a1b26">
|
||||||
<group
|
<group
|
||||||
width="1122"
|
width="1912"
|
||||||
height="760"
|
height="1072"
|
||||||
x="0"
|
x="0"
|
||||||
y="0"
|
y="0"
|
||||||
maximized="1"
|
maximized="1"
|
||||||
|
|
|
||||||
|
|
@ -1 +1 @@
|
||||||
/nix/store/d0jmg6rl00w0f105z3z8g7344glg2jlz-home-manager-files/.config/kitty/diff.conf
|
/nix/store/rfw72smdji7qh183n7jr7ms7rx7xx2bl-home-manager-files/.config/kitty/diff.conf
|
||||||
|
|
@ -1 +1 @@
|
||||||
/nix/store/d0jmg6rl00w0f105z3z8g7344glg2jlz-home-manager-files/.config/kitty/kitty.conf
|
/nix/store/rfw72smdji7qh183n7jr7ms7rx7xx2bl-home-manager-files/.config/kitty/kitty.conf
|
||||||
|
|
@ -1,13 +1,5 @@
|
||||||
-- (.config/nvim/lua/neoconf/autocmd.lua)
|
-- (.config/nvim/lua/neoconf/autocmd.lua)
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("VimEnter", {
|
|
||||||
callback = function()
|
|
||||||
vim.g.loaded_python3_provider = nil
|
|
||||||
vim.g.python3_host_prog = "/etc/profiles/per-user/afoucaultc/bin/python3"
|
|
||||||
pcall(vim.cmd, "silent! python3 pass") -- force la ré-résolution
|
|
||||||
end,
|
|
||||||
})
|
|
||||||
|
|
||||||
vim.api.nvim_create_autocmd("BufWritePre", {
|
vim.api.nvim_create_autocmd("BufWritePre", {
|
||||||
callback = function()
|
callback = function()
|
||||||
vim.lsp.buf.format({ async = false })
|
vim.lsp.buf.format({ async = false })
|
||||||
|
|
|
||||||
|
|
@ -1,10 +1,8 @@
|
||||||
return {
|
return {
|
||||||
{
|
{
|
||||||
"Tsuzat/NeoSolarized.nvim",
|
"folke/tokyonight.nvim",
|
||||||
lazy = false, -- make sure we load this during startup if it is your main colorscheme
|
lazy = false,
|
||||||
priority = 1000, -- make sure to load this before all the other start plugins
|
priority = 1000,
|
||||||
config = function()
|
opts = {},
|
||||||
vim.cmd([[ colorscheme NeoSolarized ]])
|
|
||||||
end,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -41,3 +41,5 @@ vim.o.confirm = true
|
||||||
-- spell checking
|
-- spell checking
|
||||||
vim.opt.spell = true
|
vim.opt.spell = true
|
||||||
vim.opt.spelllang = "fr"
|
vim.opt.spelllang = "fr"
|
||||||
|
-- theme
|
||||||
|
vim.cmd("colorscheme tokyonight-night")
|
||||||
|
|
|
||||||
|
|
@ -2,8 +2,8 @@
|
||||||
{
|
{
|
||||||
stylix = {
|
stylix = {
|
||||||
enable = true;
|
enable = true;
|
||||||
targets.gtksourceview.enable = false;
|
polarity = "dark";
|
||||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/solarized-dark.yaml";
|
base16Scheme = "${pkgs.base16-schemes}/share/themes/tokyo-night-dark.yaml";
|
||||||
|
|
||||||
cursor = {
|
cursor = {
|
||||||
package = pkgs.bibata-cursors;
|
package = pkgs.bibata-cursors;
|
||||||
|
|
@ -25,6 +25,6 @@
|
||||||
terminal = 12;
|
terminal = 12;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
polarity = "dark";
|
targets.gtksourceview.enable = false;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@
|
||||||
pciutils
|
pciutils
|
||||||
usbutils
|
usbutils
|
||||||
inxi
|
inxi
|
||||||
|
gnupg
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue