illogical-impulse on NixOS #1093
Replies: 17 comments
-
EDIT: This is my initial comment while I was figuring out how to use my dotfiles on NixOS. I do realize this isn't the proper way to do things on that OS. Scroll way down for more helpful comments
|
Beta Was this translation helpful? Give feedback.
-
That's interesting, I thought NixOS has a total different way dealing with configs... seems like it's actually alike normal Linux distros at least for In that case, maybe it's not difficult to have a try on NixOS for me. |
Beta Was this translation helpful? Give feedback.
-
Well it does handles differently too, if you are planning to use flakes or home managers (basically trying to automate it) but otherwise the fallback method still exists |
Beta Was this translation helpful? Give feedback.
-
It's going to be different if you use home-manager. What it does is generate contents in home folder based on configurations in Nix format.
Btw I can't figure out how to make GtkSourceView work (which is required for left sidebar) 😭 |
Beta Was this translation helpful? Give feedback.
-
And here I am all done and up just I can't seem to understand how to install ags in nix |
Beta Was this translation helpful? Give feedback.
-
ags.url = "github:Aylur/ags"; then you can source a file like this to |
Beta Was this translation helpful? Give feedback.
-
Will be better if the git checkout (commit hash) of ags repo could be specified. |
Beta Was this translation helpful? Give feedback.
-
there must be a way... that's why i tried to use nixos in the first place |
Beta Was this translation helpful? Give feedback.
-
I still can't understand flakes at all, I will shift back to arch for now, do you think this setup can work on void linux though? |
Beta Was this translation helpful? Give feedback.
-
try it and see |
Beta Was this translation helpful? Give feedback.
-
I tried from the ags wiki and it returned that flake path is not set with a bunch of other things |
Beta Was this translation helpful? Give feedback.
-
i think you should find a config for nixos that looks good structure. like: zaneyos. and then, you can change it to what you like |
Beta Was this translation helpful? Give feedback.
-
I had a stab at it a few months back, I'm going through and updating for 24.05 this weekend. Added a feature to adjust foot transparency on the fly from the effects menu. :) |
Beta Was this translation helpful? Give feedback.
-
I've gone ahead and taken a stab at making a home manager module and flake for this with a config to allow users to exclude certain files from being sourced in the config so they can be sourced by the user manually if modifications are necessary. It's probably not a very nix-like way to do things, but I've tried to keep it such that it sticks to the config files in this repository rather than rewriting everything in nix, and it can just be added like any other flake input rather than having to be installed like a whole new system configuration. That said, I haven't implemented the installation of any required packages yet besides the pinned ags revision, that'll be the next step. I may also have to figure out some things to allow the auto-generation components to work properly – or maybe use some kind of config to force declarative generation rather than imperative. |
Beta Was this translation helpful? Give feedback.
-
So I've managed to get it running such that it will, upon being enabled, install the correct packages and Hyprland can be started. There seems to be an issue with getting ags to work though. I not really sure what's causing it, and ags is capable of displaying a default config, but not the one provided in illogical-impulse. Here is the log from when running
The |
Beta Was this translation helpful? Give feedback.
-
I'm working on this too. I packed it into a home manager module (based on CirnOS, I rewrite most of the dotfiles with Nix, and with some of my own customizations.), though there may still some features not working (Maybe there are still some deps I ignored). There is a weird cache files permission created by ags (Permission of files in ~/.cache/ags/user/generated/ is all set as 444, I think it should be 644 since ags need to update them when changing wallpapers.). You may need to set them to 644 manually after the first time you set wallpaper. |
Beta Was this translation helpful? Give feedback.
-
Note: executable name switched from On typical Linux system you just need to run |
Beta Was this translation helpful? Give feedback.
-
The issue
How can I clone the config and local folder of this repo directly to just get the dots which I can then manually paste to my .config folder?
Beta Was this translation helpful? Give feedback.
All reactions