{"id":16343307,"url":"https://github.com/ners/fedora","last_synced_at":"2025-11-06T05:30:29.133Z","repository":{"id":104276536,"uuid":"218730006","full_name":"ners/Fedora","owner":"ners","description":"Fedora setup","archived":false,"fork":false,"pushed_at":"2021-07-04T15:43:51.000Z","size":12091,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-27T16:25:08.413Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ners.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-10-31T09:31:27.000Z","updated_at":"2021-07-04T15:43:54.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed0f9836-76d1-4417-8ef3-082186f085e6","html_url":"https://github.com/ners/Fedora","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ners%2FFedora","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ners%2FFedora/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ners%2FFedora/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ners%2FFedora/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ners","download_url":"https://codeload.github.com/ners/Fedora/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239483878,"owners_count":19646426,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-11T00:24:07.144Z","updated_at":"2025-11-06T05:30:29.076Z","avatar_url":"https://github.com/ners.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"So I've convinced you to install Fedora Workstation\n===================================================\n\nCongratulations on taking the first steps to enlightenment.\nWhat happens now? Here's everything you need.\n\nUse Fedora Media Writer to create a bootable USB key:\nhttps://getfedora.org/en/workstation/download/\n\nOr just download the ISO and burn it yourself. Either way, the download is 2 GB, and the USB key should be at least 4 GB in size. \n\n# Update the system\nIf you're on a decent connection, speed up DNF updates:\n```sh\necho max_parallel_downloads=16 | sudo tee -a /etc/dnf/dnf.conf\n```\n```sh\nsudo dnf upgrade --refresh -y\nsource /etc/os-release\nVERSION=34\nif [ \"$VERSION_ID\" -lt $VERSION ] ; then\n    sudo dnf install -y dnf-plugin-system-upgrade\n    sudo dnf system-upgrade -y download --releasever=$VERSION\n    sudo dnf system-upgrade -y reboot\nfi\n```\n\n# Install basic tools\n```sh\nsudo dnf install -y https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm\nsudo dnf install -y aria2 boxes curl dnf-plugins-core direnv entr expect fuse-exfat fuse-sshfs git git-credential-libsecret httpie jq make moreutils the_silver_searcher util-linux-user neovim wget\n```\n## Optional GUI tools:\n```sh\nsudo dnf install -y geary gnome-tweaks mpv neovim-qt yaru-theme\n```\n\n## Optional nVidia driver:\n⚠️ Warning: the official nVidia driver is terrible for system stability. Expect your battery life to suffer and future updates to break your system. Try to avoid the driver if you can, and next time you buy a computer, nVidia as a whole.\n```sh\nsudo dnf install -y gcc kernel-headers kernel-devel akmod-nvidia xorg-x11-drv-nvidia xorg-x11-drv-nvidia-libs xorg-x11-drv-nvidia-libs.i686\nsleep 60\nsudo akmods --force\nsudo dracut --force\nsudo cp home/-p /usr/share/X11/xorg.conf.d/nvidia.conf /etc/X11/xorg.conf.d/nvidia.conf\nsudo sed -i 's|EndSection|\\tOption \"PrimaryGPU\" \"yes\"\\nEndSection|' /etc/X11/xorg.conf.d/nvidia.conf\n```\n\n# Change shell to ZSH\n```sh\nsudo dnf install -y zsh zsh-syntax-highlighting\ngit clone --depth 1 https://github.com/sindresorhus/pure.git /tmp/pure\nsudo cp /tmp/pure/async.zsh /usr/share/zsh/site-functions/async\nsudo cp /tmp/pure/pure.zsh /usr/share/zsh/site-functions/prompt_pure_setup\nchsh -s $(which zsh)\nfor f in .zshrc .zshrc.local .profile ; do cp home/$f ~/$f ; done\n```\n\n# Install Haskell\n```sh\ncurl -sSL https://get.haskellstack.org/ | sh\n```\n\n## Install HLS for IDE integration\n```sh\ngit clone --depth 1 https://github.com/haskell/haskell-language-server.git /tmp/haskell-language-server\ncd /tmp/haskell-language-server\nstack install.hs hls-8.8.4\n```\n\n# Install Docker\nDo not use Docker. Use Podman instead. It comes preinstalled with Fedora Workstation.\n\n# Set up Git\n```sh\nfor f in .gitconfig .gitignore ; do cp home/$f ~/$f ; done\n```\n\n# Set up Neovim\n```sh\ncp -r home/.config/nvim ~/.config/nvim\n\nsudo dnf install -y yarnpkg libicu-devel ncurses-devel zlib-devel\nmkdir -p ~/.local/share/nvim/site/pack/github/start\nmkdir -p ~/.vim/ftplugin ~/.vim/pack/vendor/start\n\ncd ~/.local/share/nvim/site/pack/github/start\nplugins=(\nchriskempson/base16-vim\ncohama/lexima.vim\nneoclide/coc.nvim\nneovimhaskell/haskell-vim\npreservim/nerdtree\nryanoasis/vim-devicons\nsbdchd/neoformat\ntiagofumo/vim-nerdtree-syntax-highlight\n)\nfor p in ${plugins[@]}; do git clone --depth 1 \"https://github.com/$p.git\"; done\n\nyarn --cwd coc.nvim\nsudo wget -O /usr/share/fonts/roboto-mono-nerd.ttf \"https://raw.githubusercontent.com/ryanoasis/nerd-fonts/master/patched-fonts/RobotoMono/Regular/complete/Roboto Mono Nerd Font Complete.ttf\"\nsudo fc-cache -fv\n```\n\n## Optionally install VS Code:\nIt is strongly recommended to run VSCodium instead of Microsoft's VSCode: https://vscodium.com/\n\n```sh\nsudo rpm --import https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg\nprintf \"[gitlab.com_paulcarroty_vscodium_repo]\\nname=gitlab.com_paulcarroty_vscodium_repo\\nbaseurl=https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/rpms/\\nenabled=1\\ngpgcheck=1\\nrepo_gpgcheck=1\\ngpgkey=https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg\" | sudo tee -a /etc/yum.repos.d/vscodium.repo\nsudo dnf install codium\n```\nIf you'd rather trust Microsoft with your computer's wellbeing (yikes), they have an official guide for Fedora: https://code.visualstudio.com/docs/setup/linux#_rhel-fedora-and-centos-based-distributions\n```sh\nsudo rpm --import https://packages.microsoft.com/keys/microsoft.asc\nsudo sh -c 'echo -e \"[code]\\nname=Visual Studio Code\\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\\nenabled=1\\ngpgcheck=1\\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc\" \u003e /etc/yum.repos.d/vscode.repo'\nsudo dnf check-update\nsudo dnf install code\n```\n\n# Change WM to Sway\n```sh\nsudo dnf install sway swaylock swayidle waybar wdisplays grim slurp wl-clipboard python3-i3ipc\nsudo wget -O /usr/bin/grimshot https://raw.githubusercontent.com/swaywm/sway/master/contrib/grimshot\nsudo chmod +x /usr/bin/grimshot\ncp -r home/.config/sway home/.config/waybar ~/.config\n```\n\n## Optionally install Inter font\n```sh\nmkdir /tmp/inter\ncd /tmp/inter\nwget -q https://github.com/rsms/inter/releases/download/v3.15/Inter-3.15.zip\nunzip Inter-*.zip\nsudo mv Inter\\ Desktop /usr/local/fonts/inter-desktop\nsudo fc-cache -fv\n```\n\n## Optionally install timed background\n```sh\nsudo cp -r home/.local/share/backgrounds/* /usr/share/backgrounds/\n\nsudo dnf install golang libXcursor-devel libXmu-devel xorg-x11-xbitmaps wayland-devel\ngit clone --depth 1 https://github.com/xyproto/wallutils /tmp/wallutils\ncd /tmp/wallutils\nmake -j\nsudo make PREFIX=/usr/local install\necho \"exec_always killall settimed ; settimed big-sur\" \u003e\u003e ~/.config/sway/theme.conf\n```\n\n# Install Wine\n```sh\nsudo dnf install -y wine winetricks\nsudo winetricks --self-update\n```\n\n## Optionally speed up winetricks downloads:\n```sh\nsudo sed -i 's|torify} aria2c|\u0026 -x16 -s16 |' /usr/bin/winetricks\n```\n\n# Other shitty tools\nRun this once after setting up the system:\n```sh\nflatpak --user remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo`\n```\nAvoid installing these untrusted proprietary applications with RPM. Look here for more: https://flathub.org/apps\n- Telegram Desktop: `flatpak --user install flathub org.telegram.desktop`\n- Zoom: `flatpak --user install flathub us.zoom.Zoom`\n- Skype: `flatpak --user install flathub com.skype.Client`\n- MS Teams: `flatpak --user install flathub com.microsoft.Teams`\n- Mattermost: `flatpak --user install com.mattermost.Desktop`\n- Discord: `flatpak --user install flathub com.discordapp.Discord`\n- IntelliJ Idea Community: `flatpak --user install flathub com.jetbrains.IntelliJ-IDEA-Community`\n- Steam: `flatpak install --user flathub com.valvesoftware.Steam com.valvesoftware.Steam.CompatibilityTool.Proton`\n- Spotify: `flatpak install --user flathub com.spotify.Client`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fners%2Ffedora","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fners%2Ffedora","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fners%2Ffedora/lists"}