Skip to content

Personal config files for NixOS. See my other rices in the link below!

License

Notifications You must be signed in to change notification settings

datsfilipe/dotfiles

Repository files navigation

datsfilipe’s dotfiles

GitHub Repo stars GitHub issues

Preview

Structure

.
├── assets
├── home
│   ├── base
│   │   ├── core
│   │   ├── gui
│   │   └── tui
│   └── linux
│       ├── base
│       └── gui
├── hosts
│   └── dtsf-pc
│       └── home
├── lib
├── modules
│   ├── colorscheme
│   │   ├── integrations
│   │   └── themes
│   ├── conf
│   │   └── integrations
│   ├── devenvs
│   │   ├── bun
│   │   ├── crystal
│   │   ├── electron
│   │   ├── elixir
│   │   ├── git-hooks
│   │   ├── go
│   │   ├── nodejs
│   │   ├── python
│   │   ├── qmk
│   │   ├── rust
│   │   ├── shimeji
│   │   └── work
│   ├── nixos
│   │   ├── base
│   │   └── desktop
│   ├── nupkgs
│   │   ├── devtunnel-cli
│   │   └── zellij-switch
│   ├── secrets
│   └── wallpaper
├── outputs
│   └── x86_64-linux
│       └── src
├── scripts
└── vars

General directories

  • assets: images and other assets used in the readme.
  • home: home manager general configurations.
  • hostshosts definitions.
  • lib: utility functions.
  • modules: modules definitions.
    • colorscheme: colorscheme configurations for most used applications.
    • conf: configurations for most used applications.
    • devenvs: development environments.
    • nixos: nixos general configurations.
    • nupkgs: "nix user packages" - using that instead of a nur repo.
    • secrets: secrets module, using sops for encryption.
    • wallpaper: wallpaper definition.
  • outputs: outputs of the dotfiles.
  • outputs: Contains all the outputs of the dotfiles.
  • scripts: Contains all the scripts used in the dotfiles.
  • vars: Contains all the variables used in the dotfiles.

General slices

  • base: base configurations.
  • gui: gui configurations.
  • tui: tui configurations.
  • linux: linux configurations.
  • desktop: desktop configurations.
  • integrations: module integrations.
  • conf: config files needed for a function, derivation, etc.
  • spec: test files.

Usage

  • To add a new host, need to create host definition and output. Refer to existing hosts as an example.
  • nixos-generate-config can be used to generate a new host hardware configuration file.
  • This repository submodules use ssh url's, so you need to update it as needed.
  • flake.nix should never be edited manually, as it is generated by just generate-flake using templates/flake.template.nix.

Star History

Star History Chart