nix-system's People
nix-system's Issues
Configure op-plugins properly
Configure firefox using home-manager for nixos systems
Use flake-parts to make the custom modules easier to use/understand
Manage styling with stylix
Configure treefmt with nix
With flake-parts, use this doc.
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)
Fix zsh autocompletion
See nix-community/home-manager#2562 which tracks this issue. For now, I used this suggestion: nix-community/home-manager#2562 (comment).
Use fish instead of zsh
Setup espanso
Resources
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.
Enable unfree nixpkgs globally
See the following code snippet to see how to do:
https://github.com/Misterio77/nix-starter-configs/blob/2e4b816bd6702621417c6a2ede9be3a4d019e0aa/minimal/flake.nix#L20-L55
Find solution for secrets management
Try out vscodium instead of vscode
Set programs.vscode.package
to pkgs.vscodium
.
Setup tmux
tmux is an open-source terminal multiplexer. I could use it to manage multiple panes in my terminal.
Fix $EDITOR value
$EDITOR
is currently set to nano
. Set it to VSCode.
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
- Try nix-index
Explore flakes to see if I should use them in my setup
From NixOS Wiki entry on Flakes:
Flakes allow you to specify your code's dependencies (e.g. remote Git repositories) in a declarative way, simply by listing them inside a
flake.nix
file.
Relevant links
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
Setup nix-direnv
homebrew are not removed when removed from configuration
Right now, when I remove a homebrew package from homebrew.casks
, it is still on my system. I would like to find a way to make homebrew state conform with my declared configuration.
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.
Use disko to declaratively format my T420's SSD
From the doc, Disko takes the NixOS module system and makes it work for disk partitioning as well.
Refactor imports
Using https://github.com/lukebfox/nix-configs for inspiration.
Add a Github Action to run `nixfmt` on `*.nix` files
I want to make sure that all my PRs are formatted appropriately using nixfmt
.
Extract home-manager in its own config file
Integrate T420 configuration
Configure my T420 to use this repo to track its configuration.
Use flakes in my config to pin packages
I explored flakes in #8. This issue tracks the implementation of flakes.
Setup auto sync when checking out branch on VS code
Extract common nix-darwin configs to a flake-module
Setup impermanance
From the doc, impermanence gives you access to modules to help you handle persistent state on systems with ephemeral root storage.
It's compatible with Nixos and home-manager. It doesn't seem to be compatible with nix-darwin.
I'd like to set it up for my T420.
References
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 locally manage git repositories
I'd like to use some cli tool to make it easier to manage git repositories locally. So far, I found gqh
. I could also maybe use Github's cli tool for that?
gh cli config
Setup nix-ide for VSCode with a proper nix LSP
Setup ssh known_hosts
Only add Github to the list for now.
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.
Use devenv to setup the dev environment
Zsh arrow navigation problem
I can't skip words when using Cmd + arrow or option + arrow. I want to be able to do so.
—
Created via Raycast
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)
Setup `gh` to automatically clone repos under a common directory
I think I can use gh alias
to accomplish that.
Basically, I'd like to automatically clone repos under $repos_dir/$gh_user/$repo
.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.