{"id":20127089,"url":"https://github.com/panadestein/nixos-config","last_synced_at":"2025-05-06T18:31:21.396Z","repository":{"id":42376794,"uuid":"452480012","full_name":"Panadestein/nixos-config","owner":"Panadestein","description":"A minimalist NixOS config","archived":false,"fork":false,"pushed_at":"2025-05-03T20:15:41.000Z","size":11768,"stargazers_count":16,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-03T21:20:29.698Z","etag":null,"topics":["dotfiles-linux","functional-programming","nix","nixos","nixos-configuration","qtile","xmonad"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Panadestein.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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,"zenodo":null}},"created_at":"2022-01-26T23:54:14.000Z","updated_at":"2025-05-03T20:15:45.000Z","dependencies_parsed_at":"2022-07-07T16:47:09.940Z","dependency_job_id":"98e1141b-623f-43c8-852e-dbe72a6491de","html_url":"https://github.com/Panadestein/nixos-config","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/Panadestein%2Fnixos-config","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Panadestein%2Fnixos-config/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Panadestein%2Fnixos-config/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Panadestein%2Fnixos-config/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Panadestein","download_url":"https://codeload.github.com/Panadestein/nixos-config/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252744433,"owners_count":21797616,"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":["dotfiles-linux","functional-programming","nix","nixos","nixos-configuration","qtile","xmonad"],"created_at":"2024-11-13T20:19:11.331Z","updated_at":"2025-05-06T18:31:20.526Z","avatar_url":"https://github.com/Panadestein.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"#+BEGIN_HTML\n\u003ca href=\"https://raw.githubusercontent.com/Panadestein/nixos-config/main/LICENSE.md\"\u003e\n\u003cimg alt=\"GPLv3\" src=\"https://img.shields.io/github/license/Panadestein/nixos-config\" /\u003e\n\u003c/a\u003e\n\n\u003ca href=\"https://builtwithnix.org\"\u003e\n\u003cimg alt=\"Build with Nix\" src=\"https://builtwithnix.org/badge.svg\" /\u003e\n\u003c/a\u003e\n#+END_HTML\n\n* Panadestein's Nix/NixOS Configuration\n\n#+BEGIN_HTML\n\u003cdiv\u003e\n    \u003cimg src=\"./home/dotfiles/images/some_apps.png\" style=\"width:48%; margin-right:2%;\"\u003e\n    \u003cimg src=\"./home/dotfiles/images/my_shells.png\" style=\"width:48%;\"\u003e\n\u003c/div\u003e\n#+END_HTML\n\nWelcome to my personal flake [[https://nixos.org/][Nix/NixOS]] configuration, powered by [[https://nix-community.github.io/home-manager/][home-manager]]. This configuration\nis designed to be production-ready (according to my personal requirements) and comes with the [[https://xmonad.org/][xmonad]] and [[https://qtile.org/screenshots/][Qtile]]\ntiling window managers. Additionally, I have a declarative configuration for the [[https://release.gnome.org/][gnome]]\ndesktop environment, although it's not my primary environment.\n\n** Remarks:\n\nThis configuration is specifically tailored for AMD hardware, hence, modifications might\nbe necessary to suit other machines.\n\n*** Using flakes\n\nNix [[https://www.tweag.io/blog/2020-07-31-nixos-flakes/][flakes]] is the preferred way to utilize this configuration. The use of flakes enhances the reproducibility\nof the system and enables seamless support for multiple machines via the =flake.nix= file.\n\n**** NixOS\n\nMy NixOS machine is called [[https://en.wikipedia.org/wiki/Cyrus_Smith][cyrus]]. Here I build the home and system configuration together as follows:\n\n#+begin_src bash\n  sudo nixos-rebuild --flake .#\u003cHOSTNAME\u003e switch\n#+end_src\n\nUpgrading the system implies updating the inputs one at the time:\n\n#+begin_src bash\n  sudo nix flake lock --update-input \u003cINPUT\u003e\n#+end_src\n\nor all of them together:\n\n#+begin_src bash\n  nix flake update\n#+end_src\n\n**** Non-NixOS\n\nI maintain a second configuration for non-NixOS hosts (tested in Guix System so far), which is\ncalled [[https://en.wikipedia.org/wiki/Atabey_(goddess)][atabey]]. Here I build only the home configuration:\n\n#+begin_src bash\n  nix build .#\u003cUSERNAME\u003e\n  ./result/activate\n#+end_src\n\n*** Using nix-channels\n\nThe flake configuration can be easily transformed into a non-flake, channel based one.\nFor example, if you want to use the =nixos-unstable= you could do:\n\n#+begin_src bash\n  sudo nix-channel --add https://nixos.org/channels/nixos-unstable nixos\n  sudo nixos-rebuild switch --upgrade\n#+end_src\n\nWhen using a hybrid workflow (e.g. to keep using =nix-shell= in a flake system)\nit is important to update the channels without rebuilding:\n\n#+begin_src bash\n  nix-channel --update\n#+end_src\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanadestein%2Fnixos-config","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpanadestein%2Fnixos-config","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpanadestein%2Fnixos-config/lists"}