Typo
This commit is contained in:
parent
b92a5da1e5
commit
b298cafeca
9 changed files with 4 additions and 4 deletions
31
general/user/home.nix
Normal file
31
general/user/home.nix
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
# Git config
|
||||
programs.git = {
|
||||
enable = true;
|
||||
userName = "Lyes Saadi";
|
||||
userEmail = "dev@lyes.eu";
|
||||
signing = {
|
||||
key = "17418538BAA17767";
|
||||
signByDefault = true;
|
||||
};
|
||||
extraConfig = {
|
||||
code.editor = "nvim";
|
||||
merge.tool = "nvim";
|
||||
color.ui = true;
|
||||
init.defaultBranch = "main";
|
||||
includeIf = {
|
||||
"gitdir:~/Documents/fedpkg/" = {
|
||||
path = "~/Documents/fedpkg/.gitconfig_include";
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# Protonup config
|
||||
home.sessionVariables = {
|
||||
STEAM_EXTRA_COMPAT_TOOLS_PATHS =
|
||||
"\${HOME}/.steam/root/compatibilitytools.d";
|
||||
};
|
||||
}
|
||||
185
general/user/packages.nix
Normal file
185
general/user/packages.nix
Normal file
|
|
@ -0,0 +1,185 @@
|
|||
{ pkgs, lib, config, ... }:
|
||||
|
||||
let
|
||||
tex = (pkgs.texlive.combine { inherit (pkgs.texlive)
|
||||
scheme-medium
|
||||
lettre
|
||||
wallpaper
|
||||
lastpage
|
||||
hyphenat
|
||||
moresize
|
||||
fontawesome5
|
||||
montserrat
|
||||
titlesec
|
||||
ly1;
|
||||
});
|
||||
in {
|
||||
users.users.lyes.packages = with pkgs; [
|
||||
# Web
|
||||
firefox
|
||||
fragments
|
||||
dropbox
|
||||
varia
|
||||
filezilla
|
||||
whatip
|
||||
|
||||
# Messaging
|
||||
thunderbird
|
||||
discord
|
||||
vesktop
|
||||
whatsapp-for-linux
|
||||
element-desktop
|
||||
fractal
|
||||
zoom-us
|
||||
|
||||
# Image
|
||||
drawing
|
||||
gimp
|
||||
loupe
|
||||
snapshot
|
||||
|
||||
# Video
|
||||
mpv
|
||||
vlc
|
||||
syncplay
|
||||
obs-studio
|
||||
yt-dlp
|
||||
handbrake
|
||||
kooha
|
||||
video-trimmer
|
||||
|
||||
# Audio
|
||||
shortwave
|
||||
gnome-podcasts
|
||||
helvum
|
||||
|
||||
# Reading
|
||||
calibre
|
||||
|
||||
# Utilities
|
||||
impression
|
||||
resources
|
||||
gnome.file-roller
|
||||
baobab
|
||||
|
||||
# Proton
|
||||
protonmail-bridge-gui
|
||||
protonvpn-gui
|
||||
|
||||
# Customization
|
||||
gnome.gnome-tweaks
|
||||
gnome-extension-manager
|
||||
|
||||
# Games
|
||||
heroic
|
||||
# citra-canary
|
||||
cemu
|
||||
minecraft
|
||||
vvvvvv
|
||||
ryujinx
|
||||
|
||||
# Nix
|
||||
home-manager
|
||||
nix-index
|
||||
direnv
|
||||
|
||||
# Commandline
|
||||
starship
|
||||
wl-clipboard
|
||||
|
||||
# System
|
||||
gnome-firmware
|
||||
|
||||
# Customization
|
||||
adw-gtk3
|
||||
paper-icon-theme
|
||||
gnomeExtensions.gsconnect
|
||||
|
||||
# Programming
|
||||
git
|
||||
git-lfs
|
||||
vscode
|
||||
ocaml
|
||||
ledit
|
||||
nodejs
|
||||
nil
|
||||
|
||||
# Containers
|
||||
toolbox
|
||||
distrobox
|
||||
|
||||
# Office
|
||||
libreoffice
|
||||
onlyoffice-bin
|
||||
hunspell
|
||||
hunspellDicts.fr-reforme1990
|
||||
hunspellDicts.en_US
|
||||
hunspellDicts.en_GB-ize
|
||||
|
||||
# Note taking
|
||||
apostrophe
|
||||
setzer
|
||||
tex
|
||||
pandoc
|
||||
|
||||
# Multimedia
|
||||
pipewire.dev
|
||||
pulseaudio
|
||||
libopus
|
||||
];
|
||||
|
||||
# Flatpaks
|
||||
services.flatpak = lib.mkIf (config?services.flatpak.packages) {
|
||||
remotes = lib.mkOptionDefault [{
|
||||
name = "gnome-nightly";
|
||||
location = "https://nightly.gnome.org/gnome-nightly.flatpakrepo";
|
||||
}];
|
||||
|
||||
packages = [
|
||||
# Web
|
||||
"org.gnome.Epiphany"
|
||||
|
||||
# Video
|
||||
"org.nickvision.tubeconverter"
|
||||
|
||||
# Reading
|
||||
"com.github.johnfactotum.Foliate"
|
||||
|
||||
# Science
|
||||
"com.github.alexhuntley.Plots"
|
||||
|
||||
# Office
|
||||
"com.belmoussaoui.Obfuscate"
|
||||
"com.github.muriloventuroso.pdftricks"
|
||||
"com.github.flxzt.rnote"
|
||||
"com.github.jeromerobert.pdfarranger"
|
||||
|
||||
# Utilities
|
||||
"com.belmoussaoui.Decoder"
|
||||
"io.github.nokse22.minitext"
|
||||
"org.gnome.World.PikaBackup"
|
||||
|
||||
# Customization
|
||||
"ca.desrt.dconf-editor"
|
||||
"app.drey.Damask"
|
||||
"com.github.GradienceTeam.Gradience"
|
||||
"com.github.tchx84.Flatseal"
|
||||
|
||||
# Games
|
||||
"com.usebottles.bottles"
|
||||
"dev.tchx84.Gameeky"
|
||||
"dev.tchx84.Gameeky.ThematicPack.FreedomValley"
|
||||
"dev.tchx84.Gameeky.ThematicPack.Blasterman"
|
||||
"dev.tchx84.Gameeky.ThematicPack.Wackman"
|
||||
{ appId = "org.DolphinEmu.dolphin-emu"; commit = "187e367202f4ec0a50b94d700aa50c04142d13561e3054fcf1030380d3ae86a6"; }
|
||||
"org.prismlauncher.PrismLauncher"
|
||||
|
||||
# Programming
|
||||
{ appId = "org.gnome.Builder.Devel"; origin = "gnome-nightly"; }
|
||||
];
|
||||
|
||||
uninstallUnmanaged = true;
|
||||
update.onActivation = true;
|
||||
update.auto.enable = true;
|
||||
};
|
||||
}
|
||||
32
general/user/user.nix
Normal file
32
general/user/user.nix
Normal file
|
|
@ -0,0 +1,32 @@
|
|||
{ pkgs, home-manager, ... }:
|
||||
|
||||
{
|
||||
imports =
|
||||
[
|
||||
./packages.nix
|
||||
home-manager.nixosModules.default
|
||||
];
|
||||
|
||||
users.users.lyes = {
|
||||
description = "Lyes Saadi";
|
||||
home = "/home/lyes";
|
||||
isNormalUser = true;
|
||||
initialHashedPassword = ""; # Set for vms and initial installations
|
||||
extraGroups = [ "wheel" "networkmanager" ];
|
||||
shell = pkgs.fish;
|
||||
};
|
||||
|
||||
home-manager.useUserPackages = true;
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.users.lyes = { pkgs, ... }: {
|
||||
imports =
|
||||
[
|
||||
./home.nix
|
||||
];
|
||||
|
||||
home.username = "lyes";
|
||||
home.homeDirectory = "/home/lyes";
|
||||
|
||||
home.stateVersion = "22.11";
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue