GithubHelp home page GithubHelp logo

nix-system's People

Contributors

francishamel avatar

Watchers

 avatar

nix-system's Issues

Make it easy to search nix documentation

I'd like to find a way to easily search home-manager, nix-darwin and nixpkgs from a centralized place. Maybe I could use Spotlight or Alfred or Raycast for that. I'd like to be able to search the doc from a launcher locally.

Modularize `darwin-configuration.nix`

I would like to modularize the configuration. It makes sense at the beginning to have a monolithic configuration but I think it would be better to decouple it in separate nix files to make it easier to maintain.

Tasks

  • #30
    • alacritty
    • gh
    • git
    • lsd
    • vscode
    • zsh (or fish)

gh cli can't login

When running gh auth login to login to GitHub, I get the following error: failed to authenticate via web browser: open /Users/francis/.config/gh/config.yml: permission denied.

From the doc, I've seen that I could set GH_TOKEN or GITHUB_TOKEN env variables to authenticate. I would need to find a way handle this token securely.

Setup tmux

tmux is an open-source terminal multiplexer. I could use it to manage multiple panes in my terminal.

Explore interesting packages

This issue will be used to keep track of interesting packages to try and maybe add to my workflow. I should open a separate issue to track the work around setting the program if it's complicated enough.

Packages

Setup wordlists

Wordlists are commonly used by pentesting tools like john (password cracker) or gobuster (directory enumerator tool). It would be nice to have a way to setup commonly used wordlists so that they are available on my machine.

Created via Raycast

Use nixpkgs for GUI apps if possible

At first, I wasn't able to see GUI apps installed via nixpkgs in my launcher. I decided to switch from Spotlight to Raycast. I was able to add a custom path to Raycast's Applications indexing. To find the appropriate path, I installed code using nix instead of homebrew. Then I ran which code which gave me /etc/profiles/per-user/francis/bin/code. I did cd /etc/profiles/per-user/francis/bin/ and saw that every file in this folder was a symlink to a file under /nix/store/b7dm4lfyf3b39qa0pw6ws3cj9i5py5f9-home-manager-path/bin/. I followed the link and found /nix/store/b7dm4lfyf3b39qa0pw6ws3cj9i5py5f9-home-manager-path/bin/Applications which I was able to index.

Let's use nix for all the GUI apps that are compatible.

Create a config for CTFs

I like to do CTFs once in a while. When I do CTFs, I often need to install a bunch of tools I don't typically use. For this reason, I think it would make sense to have a config file that I can import when I want to work on CTFs stuff. For now I'll put everything in this file but I think it would make sense to explore shell.nix for CTFs envs.

Find a way to use Alacritty as my terminal

Since Alacritty is a GUI app, I would need to install it using homebrew.casks. This is caused by a limitation of Mac OS and how Spotlight indexes links (it's not able to find apps installed by nix). I would still like to be able to maintain its config using home-manager tho.

Parameterize the config

  • Set a config option for the default user and use it across the config
  • Set a config option for the font to use across the config (vscode and alacritty)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.