refactor: remove unneeded imports, mainly

This commit is contained in:
EinEtwas 2024-10-15 00:05:32 +02:00
parent f4a0fec0be
commit 3b91745f3b
10 changed files with 8 additions and 22 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, inputs, ... }:
{ pkgs, inputs, ... }:
{
imports = [
# <home-manager/nixos>

View file

@ -1,4 +1,4 @@
{ lib, inputs, pkgs, ... }: {
{ lib, pkgs, ... }: {
wayland.windowManager.hyprland = {
enable = true;
#package = pkgs.hyprland-patched;
@ -108,7 +108,6 @@
bind = let
alacritty = lib.getExe pkgs.alacritty;
chrome = lib.getExe pkgs.google-chrome;
hyprshot = lib.getExe pkgs.hyprshot;
wofi = lib.getExe pkgs.wofi;
workspaces = ["1" "2" "3" "4" "5" "6" "7" "8" "9"];

View file

@ -1,4 +1,4 @@
{ pkgs, nixpkgs, home-manager, ... }:
{ pkgs, ... }:
{
home.packages = with pkgs; [
vesktop

View file

@ -1,4 +1,3 @@
{ config, pkgs, ... }:
{
programs.waybar = {
enable = true;

View file

@ -1,4 +1,3 @@
{ config, pkgs, ... }:
{
programs.wofi = {
enable = true;

View file

@ -2,7 +2,7 @@
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, ... }:
{ pkgs, ... }:
{
# Bootloader.

View file

@ -1,4 +1,3 @@
{ pkgs, ...}:
{
services.fprintd = {
enable = true;

View file

@ -1,7 +1,7 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{ config, lib, modulesPath, ... }:
{
imports =

View file

@ -1,11 +0,0 @@
{ inputs, pkgs, ... }:
{
# Enable Hyprland
programs.hyprland.enable = true;
environment.sessionVariables.NIXOS_OZONE_WL = "1";
environment.systemPackages = with pkgs; [
hyprlock
];
}

View file

@ -1,5 +1,4 @@
{ inputs, pkgs, ... }: {
programs.hyprland.enable = true;
{ pkgs, ... }: {
xdg.portal = {
enable = true;
wlr.enable = true;
@ -7,5 +6,7 @@
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
];
# TODO: I should probably set `xdg.portal.config` or `xdg.portal.configPackages` here, but for now this works...
config.common.default = "*";
};
}