Added local configs for hypr, and added packages

This commit is contained in:
vanten-s 2024-03-13 21:11:47 +01:00
parent ad0441e822
commit 4660d5f2fd
5 changed files with 16 additions and 12 deletions

1
.gitignore vendored
View file

@ -1 +1,2 @@
local-nixos.nix
local/

View file

@ -10,7 +10,7 @@ in {
imports =
[ # Include the results of the hardware scan.
/etc/nixos/hardware-configuration.nix
./local-nixos.nix
./local/local-nixos.nix
];
# Bootloader.
@ -119,6 +119,7 @@ in {
lmms
bluez
wl-clipboard
home-manager
];
programs.nix-ld.libraries = with pkgs; [

View file

@ -1,21 +1,12 @@
monitor = eDP-1,1920x1200,0x0,1
xwayland {
force_zero_scaling = true
}
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
source=~/.config/local/display.conf
exec-once = waybar & waypaper --restore
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
# Some default env vars.
env = XCURSOR_SIZE,100
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
kb_layout = se
kb_variant =

View file

@ -7,6 +7,7 @@
"spacing": 4, // Gaps between modules (4px)
// Choose the order of the modules
"mode": "dock",
"include": ["~/.config/local/display.jsonc"],
"modules-left": [
"hyprland/workspaces",
"sway/mode",

View file

@ -1,6 +1,8 @@
{ config, pkgs, ... }:
{
let
pipewire = pkgs.pipewire;
in {
home.username = "svante";
home.homeDirectory = "/home/svante";
home.stateVersion = "23.11";
@ -8,6 +10,13 @@
home.packages = [
pkgs.fortune
pkgs.htop
pkgs.xwaylandvideobridge
pipewire
pkgs.wireplumber
pkgs.xdg-desktop-portal-hyprland
pkgs.qt6.qtwayland
pkgs.libsForQt5.qt5.qtwayland
pkgs.obs-studio
];
home.file = {
@ -18,6 +27,7 @@
".config/waybar".source = dotfiles/waybar;
"scripts".source = dotfiles/scripts;
".zshrc".source = dotfiles/zshrc;
".config/local".source = dotfiles/local;
};
home.sessionVariables = { };