NixOS migration since I was basically making arch declarative

This commit is contained in:
bytequill 2025-07-01 12:38:54 +02:00
parent 5df242e987
commit 0ec94a7c64
No known key found for this signature in database
8 changed files with 60 additions and 4 deletions

View File

@ -0,0 +1,4 @@
[Settings]
gtk-theme-name = adw-gtk3
gtk-application-prefer-dark-theme = 1

View File

@ -0,0 +1,4 @@
[Settings]
gtk-theme-name = adw-gtk3
gtk-application-prefer-dark-theme = 1

View File

@ -230,7 +230,7 @@
// "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name // "exec": "$HOME/.config/waybar/mediaplayer.py --player spotify 2> /dev/null" // Filter player based on name
}, },
"custom/spotify": { "custom/spotify": {
"exec": "$HOME/.config/waybar/spotify.sh 2> /dev/null", "exec": "bash $HOME/.config/waybar/spotify.sh 2> /dev/null",
"format": "{text}", "format": "{text}",
"return-type": "text", "return-type": "text",
"interval": 1, "interval": 1,

View File

@ -13,4 +13,4 @@
# Custom files # Custom files
stow.sh stow.sh
arch-requirements nix/*

View File

@ -15,7 +15,7 @@ git clone --recurse-submodules https://git.codebased.xyz/bytequill/dotfiles.git
Using [GNU Stow](https://www.gnu.org/software/stow/) you can easily apply configs provided by this repo Using [GNU Stow](https://www.gnu.org/software/stow/) you can easily apply configs provided by this repo
You can either run the script `stow.sh` or execute the below manually: You can either run the script `stow.sh` or execute the below manually:
```sh ```sh
stow --target $HOME . stow --no-folding --target $HOME .
``` ```
# note # note

View File

@ -0,0 +1,31 @@
{ config, pkgs, ... }:
{
services.blueman.enable = true;
hardware.bluetooth.enable = true;
hardware.bluetooth.powerOnBoot = true; # powers up the default Bluetooth controller on boot
services.upower.enable = true;
programs.zsh.enable = true;
users.defaultUserShell = pkgs.zsh;
fonts.packages = with pkgs; [
nerd-fonts.iosevka
nerd-fonts.iosevka-term
];
environment.systemPackages = with pkgs; [
firefox
spotify
vesktop
brightnessctl
networkmanagerapplet
gh # Github CLI
keepassxc
gcc
clang
stow
];
}

17
nix/modules/wayland.nix Normal file
View File

@ -0,0 +1,17 @@
{ config, pkgs, ... }:
{
programs.hyprland.enable = true;
programs.dconf.enable = true;
services.displayManager.ly.enable = true;
environment.systemPackages = with pkgs; [
wofi
waybar
kitty
adw-gtk3
glib
adwaita-icon-theme
];
}

View File

@ -9,4 +9,4 @@
# - Handling of above mentioned auto functions # - Handling of above mentioned auto functions
# - Adopt(Overwrite) option # - Adopt(Overwrite) option
stow --target $HOME . stow --no-folding --target $HOME .