🐛 Fix config errors

This commit is contained in:
Martin Berg Alstad 2025-04-13 11:42:39 +02:00
parent f0ce1f4169
commit a7836ff585
Signed by: martials
GPG Key ID: 848D71DE0590C199
9 changed files with 17 additions and 20 deletions

View File

@ -11,9 +11,12 @@
nixpkgs.overlays = [ outputs.overlays.unstable-packages ]; nixpkgs.overlays = [ outputs.overlays.unstable-packages ];
# Bootloader. # Bootloader.
boot.loader = { boot = {
systemd-boot.enable = true; kernelPackages = pkgs.linuxPackages_latest;
efi.canTouchEfiVariables = true; loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
}; };
# Define a user account. Don't forget to set a password with 'passwd'. # Define a user account. Don't forget to set a password with 'passwd'.

View File

@ -4,7 +4,7 @@
}: }:
{ {
programs.hyprpanel.layout."bar.layouts"."*".right = lib.mkDefault [ programs.hyprpanel.settings.layout."bar.layouts"."*".right = lib.mkDefault [
"kbinput" "kbinput"
"volume" "volume"
"network" "network"

View File

@ -7,7 +7,7 @@
}: }:
{ {
services.hyprpaper = services.hyprpaper.settings =
let let
monitor1 = builtins.toString theme.wallpaper.monitor1; monitor1 = builtins.toString theme.wallpaper.monitor1;
in in

View File

@ -16,8 +16,8 @@
]; ];
input = { input = {
sensitivity = 0.4; # -1.0 - 1.0, 0 means no modification. sensitivity = lib.mkDefault 0.4; # -1.0 - 1.0, 0 means no modification.
touchpad.natural_scroll = true; touchpad.natural_scroll = lib.mkDefault true;
}; };
gestures = lib.mkDefault { gestures = lib.mkDefault {

View File

@ -1,15 +1,11 @@
{ pkgs, ... }: { pkgs, theme, ... }:
{ {
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
font-awesome # Icons font-awesome # Icons
]; ];
fonts = fonts = {
let
theme = import ../theme.nix;
in
{
fontconfig.enable = true; fontconfig.enable = true;
packages = with pkgs; [ packages = with pkgs; [
(nerdfonts.override { fonts = [ theme.nerdFont ]; }) (nerdfonts.override { fonts = [ theme.nerdFont ]; })

View File

@ -1,10 +1,9 @@
let { hostName, ... }:
common = import ../common.nix;
in
{ {
networking = { networking = {
networkmanager.enable = true; networkmanager.enable = true;
hostName = common.hostname; inherit hostName;
# wireless.enable = true; # Enables wireless support via wpa_supplicant. # wireless.enable = true; # Enables wireless support via wpa_supplicant.
}; };

View File

@ -1,6 +1,5 @@
{ pkgs, ... }: { pkgs, theme, ... }:
let let
theme = import ../theme.nix;
flavor = theme.flavor; flavor = theme.flavor;
in in
{ {

View File

@ -43,7 +43,7 @@
network.label = false; network.label = false;
volume = volume =
let let
step = 1; step = "1";
in in
{ {
scrollDown = "${pkgs.hyprpanel}/bin/hyprpanel 'vol -${step}'"; scrollDown = "${pkgs.hyprpanel}/bin/hyprpanel 'vol -${step}'";

Binary file not shown.