Added local configs for hypr, and added packages
This commit is contained in:
parent
ad0441e822
commit
4660d5f2fd
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1 +1,2 @@
|
||||||
local-nixos.nix
|
local-nixos.nix
|
||||||
|
local/
|
||||||
|
|
|
@ -10,7 +10,7 @@ in {
|
||||||
imports =
|
imports =
|
||||||
[ # Include the results of the hardware scan.
|
[ # Include the results of the hardware scan.
|
||||||
/etc/nixos/hardware-configuration.nix
|
/etc/nixos/hardware-configuration.nix
|
||||||
./local-nixos.nix
|
./local/local-nixos.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
@ -119,6 +119,7 @@ in {
|
||||||
lmms
|
lmms
|
||||||
bluez
|
bluez
|
||||||
wl-clipboard
|
wl-clipboard
|
||||||
|
home-manager
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.nix-ld.libraries = with pkgs; [
|
programs.nix-ld.libraries = with pkgs; [
|
||||||
|
|
|
@ -1,21 +1,12 @@
|
||||||
monitor = eDP-1,1920x1200,0x0,1
|
|
||||||
|
|
||||||
xwayland {
|
xwayland {
|
||||||
force_zero_scaling = true
|
force_zero_scaling = true
|
||||||
}
|
}
|
||||||
|
|
||||||
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
|
# 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
|
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 {
|
input {
|
||||||
kb_layout = se
|
kb_layout = se
|
||||||
kb_variant =
|
kb_variant =
|
||||||
|
|
|
@ -7,6 +7,7 @@
|
||||||
"spacing": 4, // Gaps between modules (4px)
|
"spacing": 4, // Gaps between modules (4px)
|
||||||
// Choose the order of the modules
|
// Choose the order of the modules
|
||||||
"mode": "dock",
|
"mode": "dock",
|
||||||
|
"include": ["~/.config/local/display.jsonc"],
|
||||||
"modules-left": [
|
"modules-left": [
|
||||||
"hyprland/workspaces",
|
"hyprland/workspaces",
|
||||||
"sway/mode",
|
"sway/mode",
|
||||||
|
|
12
home.nix
12
home.nix
|
@ -1,6 +1,8 @@
|
||||||
{ config, pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
let
|
||||||
|
pipewire = pkgs.pipewire;
|
||||||
|
in {
|
||||||
home.username = "svante";
|
home.username = "svante";
|
||||||
home.homeDirectory = "/home/svante";
|
home.homeDirectory = "/home/svante";
|
||||||
home.stateVersion = "23.11";
|
home.stateVersion = "23.11";
|
||||||
|
@ -8,6 +10,13 @@
|
||||||
home.packages = [
|
home.packages = [
|
||||||
pkgs.fortune
|
pkgs.fortune
|
||||||
pkgs.htop
|
pkgs.htop
|
||||||
|
pkgs.xwaylandvideobridge
|
||||||
|
pipewire
|
||||||
|
pkgs.wireplumber
|
||||||
|
pkgs.xdg-desktop-portal-hyprland
|
||||||
|
pkgs.qt6.qtwayland
|
||||||
|
pkgs.libsForQt5.qt5.qtwayland
|
||||||
|
pkgs.obs-studio
|
||||||
];
|
];
|
||||||
|
|
||||||
home.file = {
|
home.file = {
|
||||||
|
@ -18,6 +27,7 @@
|
||||||
".config/waybar".source = dotfiles/waybar;
|
".config/waybar".source = dotfiles/waybar;
|
||||||
"scripts".source = dotfiles/scripts;
|
"scripts".source = dotfiles/scripts;
|
||||||
".zshrc".source = dotfiles/zshrc;
|
".zshrc".source = dotfiles/zshrc;
|
||||||
|
".config/local".source = dotfiles/local;
|
||||||
};
|
};
|
||||||
|
|
||||||
home.sessionVariables = { };
|
home.sessionVariables = { };
|
||||||
|
|
Loading…
Reference in a new issue