nicekoishi / dotfiles

my NixOS dotfiles, do what you want

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

nicekoishi/dotfiles

About

Every day I keep using NixOS, I can't help but like it even more. It's really that cool.

Now about the config itself? Kindly borrowed code, a bit of coffee and me going deaf from loud music (I should really turn down the volume).

Desktop Preview

Structure

  • environment: environment variables for my sessions
  • flake: modular flake.nix thanks to flake-parts
    • modules: collection of useful modules you may want to use
    • packages: collection of useless packages that no one would ever use
  • home: home-manager configuration
    • editors: my editors configuration, mainly using neovim
    • profiles: all my home-manager imports are made there
    • programs: programs and their configurations, managed by home-manager
    • terminal: terminal emulators and cli programs configuration
    • theme: hopefully unified theming for all my systems
  • hosts: host specific configuration
    • polaris: main and for now only host of this configuration. It has a NVIDIA card, unfortunately
  • modules: modules shared across my hosts
    • core: without this, we can't even boot
    • programs: nixos system level configuration, things like fonts and desktop environment
    • services: useful services for my hosts

Outputs

Run packages with:

  nix run github:nicekoishi/dotfiles#<package>

Or install them through your inputs:

# flake.nix
{
inputs.nicekoishi-dots = {
  url = "github:nicekoishi/dotfiles";
  inputs.nixpkgs.follows = "nixpkgs"
};
}

# configuration.nix
{pkgs, inputs, ...}: {
environment.systemPackages = [
  inputs.nicekoishi-dots.packages."${pkgs.system}".<package>
];
}

Same thing for modules:

# flake.nix
...

# configuration.nix
{inputs, ...}: {
  imports = [
    # for nixos modules
    inputs.nicekoishi-dots.nixosModules.<module>
    # for home manager modules
    inputs.nicekoishi-dots.homeManagerModules.<module>
  ];
}

Credits

Here is a collection of all repos I shamelessy kindly borrowed some code from. My special thanks goes to both fufexan and NotAShelf, as I learned a lot from their configurations alone.

I couldn't have done any of this if it wasn't for these amazing people.

About

my NixOS dotfiles, do what you want

License:GNU General Public License v3.0


Languages

Language:Nix 65.0%Language:JavaScript 15.1%Language:Emacs Lisp 12.3%Language:CSS 3.7%Language:SCSS 3.4%Language:QML 0.5%Language:Shell 0.0%