🐛 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,10 +11,13 @@
nixpkgs.overlays = [ outputs.overlays.unstable-packages ];
# Bootloader.
boot.loader = {
boot = {
kernelPackages = pkgs.linuxPackages_latest;
loader = {
systemd-boot.enable = true;
efi.canTouchEfiVariables = true;
};
};
# Define a user account. Don't forget to set a password with 'passwd'.
users.users.${common.username} = {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

Binary file not shown.