rename "home" directory to "home-manager"
My dotfiles will be moved to the "home" directory later
This commit is contained in:
6
home-manager/chat.nix
Normal file
6
home-manager/chat.nix
Normal file
@@ -0,0 +1,6 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [ senpai ];
|
||||
|
||||
xdg.configFile."senpai".source = "${config.dotfiles.path}/.config/senpai";
|
||||
}
|
||||
48
home-manager/cli.nix
Normal file
48
home-manager/cli.nix
Normal file
@@ -0,0 +1,48 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
bottom
|
||||
btop
|
||||
difftastic
|
||||
doggo
|
||||
duf
|
||||
eza
|
||||
fd
|
||||
glow
|
||||
lazygit
|
||||
nh
|
||||
ripgrep
|
||||
skim
|
||||
taskwarrior3
|
||||
tealdeer
|
||||
vivid
|
||||
zoxide
|
||||
];
|
||||
|
||||
programs.zoxide.enable = true;
|
||||
programs.starship.enable = true;
|
||||
programs.atuin.enable = true;
|
||||
programs.bat.enable = true;
|
||||
|
||||
programs.zsh = {
|
||||
enable = true;
|
||||
syntaxHighlighting.enable = true;
|
||||
shellAliases = {
|
||||
ls = "eza";
|
||||
lsa = "ls -A";
|
||||
ll = "ls -lh";
|
||||
lla = "ls -lAh";
|
||||
h = "hx";
|
||||
g = "git";
|
||||
cd = "z";
|
||||
tree = "eza --tree";
|
||||
".." = "cd ..";
|
||||
"..." = "cd ../..";
|
||||
};
|
||||
};
|
||||
|
||||
xdg.configFile."git".source = "${config.dotfiles.path}/.config/git";
|
||||
xdg.configFile."task/taskrc".source = "${config.dotfiles.path}/.config/task/taskrc";
|
||||
|
||||
home.sessionPath = [ "${config.dotfiles.path}/bin" ];
|
||||
}
|
||||
16
home-manager/common.nix
Normal file
16
home-manager/common.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
home.username = "rpqt";
|
||||
home.homeDirectory = "/home/rpqt";
|
||||
|
||||
# This value determines the Home Manager release that your configuration is
|
||||
# compatible with. This helps avoid breakage when a new Home Manager release
|
||||
# introduces backwards incompatible changes.
|
||||
#
|
||||
# You should not change this value, even if you update Home Manager. If you do
|
||||
# want to update the value, then make sure to first check the Home Manager
|
||||
# release notes.
|
||||
home.stateVersion = "24.11";
|
||||
|
||||
# Let Home Manager install and manage itself
|
||||
programs.home-manager.enable = true;
|
||||
}
|
||||
23
home-manager/desktop/default.nix
Normal file
23
home-manager/desktop/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
./fonts.nix
|
||||
./pass.nix
|
||||
./wayland.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
discord
|
||||
seahorse
|
||||
wofi-emoji
|
||||
];
|
||||
|
||||
home.pointerCursor = {
|
||||
gtk.enable = true;
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Classic";
|
||||
size = 24;
|
||||
};
|
||||
|
||||
gtk.enable = true;
|
||||
}
|
||||
9
home-manager/desktop/fonts.nix
Normal file
9
home-manager/desktop/fonts.nix
Normal file
@@ -0,0 +1,9 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.nerd-fonts.jetbrains-mono
|
||||
pkgs.noto-fonts-color-emoji
|
||||
];
|
||||
|
||||
fonts.fontconfig.enable = true;
|
||||
}
|
||||
7
home-manager/desktop/gnome.nix
Normal file
7
home-manager/desktop/gnome.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs.gnomeExtensions; [
|
||||
blur-my-shell
|
||||
paperwm
|
||||
];
|
||||
}
|
||||
4
home-manager/desktop/niri.nix
Normal file
4
home-manager/desktop/niri.nix
Normal file
@@ -0,0 +1,4 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
xdg.configFile."niri".source = "${config.dotfiles.path}/.config/niri";
|
||||
}
|
||||
14
home-manager/desktop/pass.nix
Normal file
14
home-manager/desktop/pass.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.pass
|
||||
pkgs.gnupg
|
||||
pkgs.pinentry-gnome3
|
||||
];
|
||||
|
||||
programs.gpg.enable = true;
|
||||
services.gpg-agent = {
|
||||
enable = true;
|
||||
pinentry.package = pkgs.pinentry-gnome3;
|
||||
};
|
||||
}
|
||||
29
home-manager/desktop/sway.nix
Normal file
29
home-manager/desktop/sway.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
alacritty
|
||||
ghostty
|
||||
tofi
|
||||
i3status-rust
|
||||
wlsunset
|
||||
kanshi
|
||||
grim
|
||||
slurp
|
||||
playerctl
|
||||
swaybg
|
||||
];
|
||||
|
||||
xdg.configFile = {
|
||||
"sway".source = "${config.dotfiles.path}/.config/sway";
|
||||
"swaylock".source = "${config.dotfiles.path}/.config/swaylock";
|
||||
"swayidle".source = "${config.dotfiles.path}/.config/swayidle";
|
||||
"kanshi".source = "${config.dotfiles.path}/.config/kanshi";
|
||||
"i3status-rust".source = "${config.dotfiles.path}/.config/i3status-rust";
|
||||
"tofi/config".source = "${config.dotfiles.path}/.config/tofi/config";
|
||||
};
|
||||
|
||||
programs.alacritty.enable = true;
|
||||
xdg.configFile."alacritty".source = "${config.dotfiles.path}/.config/alacritty";
|
||||
|
||||
xdg.configFile."ghostty/config".source = "${config.dotfiles.path}/.config/ghostty/config";
|
||||
}
|
||||
7
home-manager/desktop/wayland.nix
Normal file
7
home-manager/desktop/wayland.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
waypaper
|
||||
wl-clipboard
|
||||
];
|
||||
}
|
||||
21
home-manager/dev.nix
Normal file
21
home-manager/dev.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = with pkgs; [
|
||||
devenv
|
||||
direnv
|
||||
hut
|
||||
nix-output-monitor
|
||||
radicle-node
|
||||
typescript-language-server
|
||||
nil # Nix language server
|
||||
nixfmt-rfc-style
|
||||
];
|
||||
|
||||
programs.direnv = {
|
||||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
};
|
||||
|
||||
xdg.configFile."hut/config".source = "${config.dotfiles.path}/.config/hut/config";
|
||||
}
|
||||
14
home-manager/dotfiles.nix
Normal file
14
home-manager/dotfiles.nix
Normal file
@@ -0,0 +1,14 @@
|
||||
{ config, lib, ... }:
|
||||
{
|
||||
options = {
|
||||
dotfiles = {
|
||||
path = lib.mkOption {
|
||||
type = lib.types.path;
|
||||
apply = toString;
|
||||
default = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/rep/dotfiles";
|
||||
example = "${config.home.homeDirectory}/.dotfiles";
|
||||
description = "Location of the dotfiles working copy";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
12
home-manager/helix.nix
Normal file
12
home-manager/helix.nix
Normal file
@@ -0,0 +1,12 @@
|
||||
{ config, pkgs, ... }:
|
||||
|
||||
{
|
||||
home.packages = [ pkgs.helix ];
|
||||
|
||||
programs.helix = {
|
||||
enable = true;
|
||||
defaultEditor = true;
|
||||
};
|
||||
|
||||
xdg.configFile."helix".source = "${config.dotfiles.path}/.config/helix";
|
||||
}
|
||||
44
home-manager/mail/default.nix
Normal file
44
home-manager/mail/default.nix
Normal file
@@ -0,0 +1,44 @@
|
||||
{ config, ... }:
|
||||
{
|
||||
programs.thunderbird = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
main = {
|
||||
isDefault = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
accounts.email.accounts = {
|
||||
"rpqt@rpqt.fr" = {
|
||||
address = "rpqt@rpqt.fr";
|
||||
realName = "Romain Paquet";
|
||||
primary = true;
|
||||
flavor = "migadu.com";
|
||||
thunderbird.enable = true;
|
||||
};
|
||||
|
||||
"admin@rpqt.fr" = {
|
||||
address = "admin@rpqt.fr";
|
||||
aliases = [ "postmaster@rpqt.fr" ];
|
||||
realName = "Postmaster";
|
||||
flavor = "migadu.com";
|
||||
thunderbird.enable = config.programs.thunderbird.enable;
|
||||
};
|
||||
|
||||
"romain.paquet@grenoble-inp.org" = {
|
||||
address = "romain.paquet@grenoble-inp.org";
|
||||
realName = "Romain Paquet";
|
||||
userName = "romain.paquet@grenoble-inp.org";
|
||||
imap = {
|
||||
host = "imap.partage.renater.fr";
|
||||
port = 993;
|
||||
};
|
||||
smtp = {
|
||||
host = "smtp.partage.renater.fr";
|
||||
port = 465;
|
||||
};
|
||||
thunderbird.enable = config.programs.thunderbird.enable;
|
||||
};
|
||||
};
|
||||
}
|
||||
7
home-manager/minecraft.nix
Normal file
7
home-manager/minecraft.nix
Normal file
@@ -0,0 +1,7 @@
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
home.packages = [
|
||||
pkgs.hmcl
|
||||
pkgs.openjdk21
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user