This commit is contained in:
joy 2024-10-04 15:19:23 +02:00
parent a535ec7acc
commit 1cd29c7c70
8 changed files with 34 additions and 38 deletions

View file

@ -1,26 +1,4 @@
{ {
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
nix-on-droid = {
url = "github:nix-community/nix-on-droid/master";
inputs.nixpkgs.follows = "nixpkgs";
};
ags.url = "github:Aylur/ags";
stylix.url = "github:danth/stylix";
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
};
outputs = { outputs = {
self, self,
nixpkgs, nixpkgs,
@ -50,4 +28,24 @@
}; };
}; };
}; };
inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
ags.url = "github:Aylur/ags";
stylix.url = "github:danth/stylix";
firefox-addons = {
url = "gitlab:rycee/nur-expressions?dir=pkgs/firefox-addons";
inputs.nixpkgs.follows = "nixpkgs";
};
home-manager = {
url = "github:nix-community/home-manager";
inputs.nixpkgs.follows = "nixpkgs";
};
nix-on-droid = {
url = "github:nix-community/nix-on-droid/master";
inputs.nixpkgs.follows = "nixpkgs";
};
};
} }

View file

@ -2,6 +2,7 @@
imports = [ imports = [
./bluetooth ./bluetooth
./sound ./sound
./boot
./led ./led
]; ];
} }

View file

@ -63,14 +63,9 @@
kb_layout = "us,de"; kb_layout = "us,de";
kb_variant = ",qwerty"; kb_variant = ",qwerty";
kb_options = "grp:alt_shift_toggle,caps:swapescape"; kb_options = "grp:alt_shift_toggle,caps:swapescape";
repeat_rate = 50;
}; };
device = {
name = [
"compx-2.4g-wireless-receiver"
"at-translated-set-2-keyboard"
];
repeat_rate = "50";
};
bind = [ bind = [
# launch Apps # launch Apps
"$mod,TAB, exec, alacritty" "$mod,TAB, exec, alacritty"
@ -158,9 +153,9 @@
", XF86AudioMicMute, exec, sh $sciPath/volume.sh -t" ", XF86AudioMicMute, exec, sh $sciPath/volume.sh -t"
]; ];
}; };
plugins = with pkgs.hyprlandPlugins; [ plugins = with pkgs.hyprlandPlugins; [
hyprexpo hyprexpo
]; ];
}; };
}; };
} }

View file

@ -1,8 +1,10 @@
{pkgs, ...}: let { pkgs, ... }:
backgroundUrl = "https://wallpapers.joygnu.org/wallpapers/anime/ghibli-japanese-walled-garden.png"; let backgroundUrl = "https://wallpapers.joygnu.org/wallpapers/anime/ghibli-japanese-walled-garden.png";
backgroundSha256 = "sha256-10Lv25V0RG0mnw/O90DeVchCNWJbdktUADtuI+enEwM="; backgroundSha256 = "sha256-10Lv25V0RG0mnw/O90DeVchCNWJbdktUADtuI+enEwM=";
in { in
stylix = {
{
stylix = {
enable = true; enable = true;
base16Scheme = { base16Scheme = {
@ -48,4 +50,5 @@ in {
}; };
}; };
}; };
} }

View file

@ -5,7 +5,6 @@
./xdg ./xdg
./appimage ./appimage
./networking ./networking
./boot
./misc ./misc
]; ];
} }

View file

@ -2,5 +2,5 @@
nix.settings.experimental-features = ["nix-command" "flakes"]; nix.settings.experimental-features = ["nix-command" "flakes"];
time.timeZone = "Europe/Zurich"; time.timeZone = "Europe/Zurich";
system.stateVersion = "23.11"; system.stateVersion = "23.11";
services.logind.powerKey = "ignore"; services.logind.powerKey = "suspend";
} }

View file

@ -20,7 +20,7 @@
}; };
}; };
userDirs = { userDirs = {
enable = true; enable = false;
desktop = "~/media/pic/screen"; desktop = "~/media/pic/screen";
download = "~/dl"; download = "~/dl";
}; };