frost-phoenix / nixos-config Goto Github PK
View Code? Open in Web Editor NEW❄️ NixOs / Hyprland rice with Home-Manager ❄️
License: MIT License
❄️ NixOs / Hyprland rice with Home-Manager ❄️
License: MIT License
Hi, first of all, thank you so muuuuch for your repo, it really helped me a lot setup my new machine.
I forked your repo in order to suite my needs and hardware. I face a strange bug although I think I nearly replicated the setup I had on Arch where I did not encounter this issue. Some programs such as LazyGit, or Obsidian with the git plugin, are causing system freezes (even the cursor stops) where I have to force the shutdown of the laptop. It happens as soon as the software is trying to fetch infos about the repository (I believe just after checking the SSH Keys.
I see nothing in journalctl, at the time of the crash:
Jun 07 12:22:31 nixos systemd[2321]: Started kitty child process: 6086 launched by: 6071.
Jun 07 12:22:54 nixos systemd[2321]: Started GnuPG cryptographic agent and passphrase cache.
Jun 07 12:22:54 nixos gpg-agent[6412]: gpg-agent[6412]: WARNING: "--supervised" is a deprecated option
Jun 07 12:22:54 nixos gpg-agent[6412]: gpg-agent (GnuPG) 2.4.5 starting in supervised mode.
Jun 07 12:22:54 nixos gpg-agent[6412]: using fd 3 for ssh socket (/run/user/1000/gnupg/S.gpg-agent.ssh)
Jun 07 12:22:54 nixos gpg-agent[6412]: using fd 4 for std socket (/run/user/1000/gnupg/S.gpg-agent)
Jun 07 12:22:54 nixos gpg-agent[6412]: listening on: std=4 extra=-1 browser=-1 ssh=3
Jun 07 12:23:08 nixos systemd[2321]: kitty-5684-0.scope: Consumed 2.396s CPU time.
Jun 07 12:23:09 nixos systemd[2321]: Started kitty child process: 6484 launched by: 6471.
An example of LazyGit logs during a small freeze it caused:
Jun 7 12:34:18 |INFO| refreshing the following scopes in sync mode: files
Jun 7 12:34:18 |DEBU| using cache for key status.showUntrackedFiles
Jun 7 12:34:18 |INFO| refreshed merge conflicts in 10.229µs
Jun 7 12:34:18 |DEBU| RunCommand command="git status --untracked-files=all --porcelain -z"
Jun 7 12:34:18 |INFO| git status --untracked-files=all --porcelain -z (10.433872ms)
Jun 7 12:34:18 |INFO| refreshed files in 10.863244ms
Jun 7 12:34:18 |INFO| Refresh took 11.062536ms
Jun 7 12:34:18 |INFO| postRefreshUpdate for submodules took 9.919µs
Jun 7 12:34:18 |DEBU| RunCommand command="git -C /home/clementpoiret/Sync/Projects/Caminov/Fringuant/_fit diff --no-ext-diff --submodule --unified=3 --color=always -- .gitignore"
Jun 7 12:34:18 |INFO| postRefreshUpdate for files took 203.981µs
Sometimes freezes are so long I have to force the shutdown manually…
In case it might help, I use a Solokey to handle my ssh auth.
My git config is rather simple: nixos-config/modules/home/git.nix at 1f48e244e99dacdcd6bb1694c1d822528732fa6e · clementpoiret/nixos-config · GitHub
I have no issues with ssh or git commands directly.
Do you have any idea? Thanks!
Hello, I have a small issue with Virt-Manager. I have installed a ParrotOS VM. I can copy and paste between the host and the guest, but I can't highlight text in the terminal on the VM. When I try, it highlights text only while I hold the left mouse button, and I can't copy the text. I'm not sure where the issue is.
Hey, I really like the config and I have taken it as a base for my own configuration! A problem I have is that I'm stuck in sway-lock and don't know what to do. I have auto-login enabled so I'm not sure why it appears on startup and all I get is WRONG
, CLEARED
or a light going up on the circle.
I have not modified anything related to Hyprland yet so I'm not even sure what could cause it. My current "solution" is to disable it all together. Thanks a lot for any help you can provide!
This project has really interested me. An installation guide would be really welcome, especially for people new to nixos
On the instructions it states to run the script as root. Inside the script it states not to run it as root.
It also states that git/default.nix needs to be changed when in reality that information is in git.nix
Also, I launched the script off a fresh install of the gnome ISO with no desktop, and after running the script and not seeing any errors pop up I had reboot the computer still into a no desktop environment
I need to bother you one more time because I'm really confused. What would be the correct way to add Spicetify-cli to the configuration correctly?
For example, how to use this config?
https://github.com/Gerg-L/spicetify-nix?tab=readme-ov-file#import-the-module
Pls, help me!
I've been trying to understand this for a long time hahaha
building the system configuration...
these 18 derivations will be built:
/nix/store/wicfikhl5axaska0b2ggc23ks1l569a0-hm_.vscodeossextensions.extensionsimmutable.json.drv
/nix/store/pmxapw7bm7606bf8jl928yr893zfspsi-wlroots-hyprland-2024-03-09_50eae51.drv
/nix/store/dmvg1y9n8zy4rdv3b0p3rdxqi5ayiwr9-hyprland-0.37.1+date=2024-03-21_4c79668.drv
/nix/store/i19nx7zjipj5x6dzlfr71wz5yhvkjhl3-catppuccin-papirus-folders-unstable-2023-08-02.drv
/nix/store/pf7i4pkjf7i7aswz7zsf5spz1j8xqrpb-nerdfonts-3.1.1.drv
/nix/store/rl0kipsbyrsfvjg6va3mgmyavja0dg6a-skia-aseprite-m102.drv
/nix/store/sap86pa4zi52hsl6rg24mr3ivnj1jv1x-aseprite-1.3.2.drv
/nix/store/zkf9r3va8bfbndsgpg7mzfmwkwjkh8ip-waybar-0.10.0.drv
/nix/store/nrhip1llmm6v1qppfv1xqyfq09lfikqx-home-manager-path.drv
/nix/store/xsimz7cimc7rmxzdsl84pf9q01w5d6ic-hm_fontconfigconf.d10hmfonts.conf.drv
/nix/store/4r0a5zmfjsr0jlkixzsha102szh655ka-home-manager-files.drv
/nix/store/4wnj3mmcn6mcrg9rkjyjvnavi4lr4kc2-activation-script.drv
/nix/store/xh7yx0zvwmaiwrk7xpmz6sqmch5xa19x-home-manager-generation.drv
/nix/store/10v6y8abcmmvdpx3jry4053lfpf7y7j9-unit-home-manager-deng.service.drv
/nix/store/5lqvg6wmq5d8jwbnhp7672lsqxnanjgk-user-environment.drv
/nix/store/jhbdlys9jdz2b9pbbqydm1y86akl8n8h-system-units.drv
/nix/store/pa4vfg5f62hni1pkff24hsrnykrpw35d-etc.drv
/nix/store/242hyii87n5pl2agzi8ihjqskay624s5-nixos-system-nixos-24.05.20240319.b06025f.drv
building '/nix/store/i19nx7zjipj5x6dzlfr71wz5yhvkjhl3-catppuccin-papirus-folders-unstable-2023-08-02.drv'...
building '/nix/store/pf7i4pkjf7i7aswz7zsf5spz1j8xqrpb-nerdfonts-3.1.1.drv'...
building '/nix/store/zkf9r3va8bfbndsgpg7mzfmwkwjkh8ip-waybar-0.10.0.drv'...
building '/nix/store/wicfikhl5axaska0b2ggc23ks1l569a0-hm_.vscodeossextensions.extensionsimmutable.json.drv'...
building '/nix/store/rl0kipsbyrsfvjg6va3mgmyavja0dg6a-skia-aseprite-m102.drv'...
error: builder for '/nix/store/zkf9r3va8bfbndsgpg7mzfmwkwjkh8ip-waybar-0.10.0.drv' failed with exit code 1;
last 10 log lines:
> Run-time dependency libudev found: YES 255
> Run-time dependency libevdev found: YES 1.13.1
> Run-time dependency libmpdclient found: YES 2.22
> Run-time dependency xkbregistry found: YES 1.5.0
> Run-time dependency jack found: YES 1.9.22
> Run-time dependency wireplumber-0.4 found: NO (tried pkgconfig)
>
> meson.build:95:17: ERROR: Dependency "wireplumber-0.4" not found, tried pkgconfig
>
> A full log can be found at /build/source/build/meson-logs/meson-log.txt
For full logs, run 'nix log /nix/store/zkf9r3va8bfbndsgpg7mzfmwkwjkh8ip-waybar-0.10.0.drv'.
error (ignored): error: cannot unlink '/tmp/nix-build-catppuccin-papirus-folders-unstable-2023-08-02.drv-0/source/src/32x32/places': Directory not empty
error (ignored): error: cannot unlink '/tmp/nix-build-skia-aseprite-m102.drv-0/source': Directory not empty
error: 1 dependencies of derivation '/nix/store/nrhip1llmm6v1qppfv1xqyfq09lfikqx-home-manager-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/xh7yx0zvwmaiwrk7xpmz6sqmch5xa19x-home-manager-generation.drv' failed to build
error: 1 dependencies of derivation '/nix/store/5lqvg6wmq5d8jwbnhp7672lsqxnanjgk-user-environment.drv' failed to build
error: 1 dependencies of derivation '/nix/store/pa4vfg5f62hni1pkff24hsrnykrpw35d-etc.drv' failed to build
error: 1 dependencies of derivation '/nix/store/242hyii87n5pl2agzi8ihjqskay624s5-nixos-system-nixos-24.05.20240319.b06025f.drv' failed to build
Hi! How are you?
I'm creating my own nixos config with hyprland and i'm basing myself on your and other projects.
To aply a theme, you need the colors of them. For this, i searched some examples. But in the modules/home/gtk/default.nix, ln 3, you include a file that doesn't include in github:
color = (import ../../variables/colors.nix);
Maybe you you have forgothen or you have other intelligent explanation...
Why?
Hy! I'm Leandro. How are you?
In my search of dotfiles for hyprland, i find your repo, and it's so good, and the organization of your files is very insteresting, clear and beautiful.
1 - The post install of your dotfiles, the modules, that contains the softwares and the general configurations of nixos, are target to the /etc/nixos/ ?
2 - I don't find the configuration.nix. The nixos necessarily this file or he can access the files.nix in the /etc/nixos/ ?
Thank you! Good week!
After installation how can i chainge config like language , keyboard layout ,and how can i install more app like spotify.
First of all, I really like the configuration you made! It's just that I can't know how to change the Visual Studio Code configuration as I want. I need help with that, I thank you very much in advance.** **
Hello,
I wanted to try out your amazing rice in VM. I created QEMU/KVM virtual machine via Virtual Machine Manager, available on Debian. I have used GNOME iso and installed Nixos with no desktop.
Switching configuratioin as is failed with following error:
efiSysMountPoint = '/boot' is not a mounted partition. Is the path configured correctly?
Traceback (most recent call last):
File "/nix/store/vxm4wc844sj9c9qdvwbss3y9r9hm5lh5-systemd-boot/bin/systemd-boot-builder", line 394, in <module>
main()
File "/nix/store/vxm4wc844sj9c9qdvwbss3y9r9hm5lh5-systemd-boot/bin/systemd-boot-builder", line 374, in main
subprocess.check_call(CHECK_MOUNTPOINTS)
File "/nix/store/7wz6hm9i8wljz0hgwz1wqmn2zlbgavrq-python3-3.11.8/lib/python3.11/subprocess.py", line 413, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '/nix/store/5j0h13ax44xk05b6wwxm1rp57jqcjnd2-check-mountpoints' returned non-zero exit status 1.
warning: error(s) occurred while switching to the new configuration
I tried to fix it by using grub bootloader:
{ pkgs, ... }:
{
# boot.loader.systemd-boot.enable = true;
boot.kernelPackages = pkgs.linuxPackages_latest;
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/sda";
boot.loader.grub.useOSProber = true;
}
then switching configuration finished successfuly, however after reboot, very ordinary wayland login page showed up, password was accepted, screen went blank and then login page showed up again. And all over again.
This is my first experience with nixos, I would realy appretiate your help.
Hello, I am new to NixOS and thus appreciate the installation script. However, when I run it and reboot, i am directed to a hyprland screen with a message saying that i'm using an autogenerated config and nothing else has changed.
What am I doing incorrectly?
Thanks
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.