Skip to content

DisguisedPigeon/nixos-dotfiles

Repository files navigation

Caution

Cuestionable code quality ahead.

Disguised Pigeon's NixOS Dotfiles

Flake-based with unstable channels.

Images

Wallpaper Terminal Browser

System Info:

  • OS: NixOS
  • DE: Hyprland, KDE plasma (Basic config), awesomewm (unconfigured)
  • Shell: ZSH
  • Terminal: Kitty/Konsole
  • Editor: Neovim BTW

Repo structure (might change)

  • flake.nix: flake definition (Describes channels to get packages from and sources configurations)
  • hosts/: System-wide configs. This includes user creation
  • home/: User-specific configs (with home manager).

Instalation instructinos

0. Prerequisites

  • Functioning NixOS installation.
  • flakes and nix-command enabled (view configuration.nix, nix.settings.experimental-features).

1. Installation

git clone https://github.com/DisguisedPigeon/nixos-dotfiles.git /home/.nixos-dotfiles #This is where I store it.
cd /home/.nixos-dotfiles

At this point, you may use this config as your own.

Warning

Before applying to your system, you should change:

  • hardware-configuration.nix with your own (should be autogenerated by NixOS when installing. Alternatively you can run
    nixos-generate-config
    which will generate it in /etc/nixos/hardware-configuration.nix
  • Switch the references to the nixos-hardware repo in the configuration.nix. You can select these by machine name or by part names as specified in the flake These are machine-specific

Note

As I'm a comedy genius, I called my NixOS host DPigeon-MacOS, you may change it to whatever you prefer in the flake the system config folder and the configuration file. You may also change it in the home directory There are two users defined at this moment, dpigeon and test for the DPigeon-MacOS machine. You can also create new ones or change their names in the flake, the config file and the per-user config. The users should be reflected in all the files mentioned because of home-manager.

I also have defined an alias for dpigeon to apply nixos config (nupdate) and update the flake (fupdate) and another one for both users to apply home manager config (hupdate)

System update
sudo nixos-rebuild --flake .#DPigeon-MacOS switch
nupdate # Only as dpigeon
User home update
home-manager --flake .#dpigeon@DPigeon-MacOS switch
hupdate
Flake update
sudo nixos-rebuild --flake --upgrade .#DPigeon-MacOS switch
fupdate # Only as dpigeon

Aditional notes

  • This is a permanent WIP, do not expect stability from anything I make. I've deleted my nvim config and re-wrote it like 3 times in the past. Also, I often forget to push stuff. Oopsie.
  • I use NixOS BTW
  • I will probably forget updating this readme (LAST UPDATE: 14/10/2024), so success rate will probably get worse with time
  • Unless in the future I update this , there probably are programs with incomplete configurations (also see first item). At the time of writing this, awesomewm is not configured at all. (I did update this, but awesomewm is still not done) (Still not done)
  • I use NeoVim BTW
  • I don't expect nobody to use this, so if somebody is reading, I'm sorry for giving you the impression that installing this is a good idea. it's probably better for you to use another config (haven't tried it, but everything rxyhn makes is cool AF, so rxyhn's yuki).

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks