refactor: remove unneeded imports, mainly
This commit is contained in:
parent
f4a0fec0be
commit
3b91745f3b
10 changed files with 8 additions and 22 deletions
|
|
@ -1,4 +1,4 @@
|
||||||
{ config, pkgs, inputs, ... }:
|
{ pkgs, inputs, ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
# <home-manager/nixos>
|
# <home-manager/nixos>
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, inputs, pkgs, ... }: {
|
{ lib, pkgs, ... }: {
|
||||||
wayland.windowManager.hyprland = {
|
wayland.windowManager.hyprland = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#package = pkgs.hyprland-patched;
|
#package = pkgs.hyprland-patched;
|
||||||
|
|
@ -108,7 +108,6 @@
|
||||||
|
|
||||||
bind = let
|
bind = let
|
||||||
alacritty = lib.getExe pkgs.alacritty;
|
alacritty = lib.getExe pkgs.alacritty;
|
||||||
chrome = lib.getExe pkgs.google-chrome;
|
|
||||||
hyprshot = lib.getExe pkgs.hyprshot;
|
hyprshot = lib.getExe pkgs.hyprshot;
|
||||||
wofi = lib.getExe pkgs.wofi;
|
wofi = lib.getExe pkgs.wofi;
|
||||||
workspaces = ["1" "2" "3" "4" "5" "6" "7" "8" "9"];
|
workspaces = ["1" "2" "3" "4" "5" "6" "7" "8" "9"];
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,4 @@
|
||||||
{ pkgs, nixpkgs, home-manager, ... }:
|
{ pkgs, ... }:
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [
|
home.packages = with pkgs; [
|
||||||
vesktop
|
vesktop
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ config, pkgs, ... }:
|
|
||||||
{
|
{
|
||||||
programs.wofi = {
|
programs.wofi = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,7 @@
|
||||||
# your system. Help is available in the configuration.nix(5) man page
|
# your system. Help is available in the configuration.nix(5) man page
|
||||||
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
# and in the NixOS manual (accessible by running ‘nixos-help’).
|
||||||
|
|
||||||
{ config, pkgs, ... }:
|
{ pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# Bootloader.
|
# Bootloader.
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
{ pkgs, ...}:
|
|
||||||
{
|
{
|
||||||
services.fprintd = {
|
services.fprintd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
# Do not modify this file! It was generated by ‘nixos-generate-config’
|
||||||
# and may be overwritten by future invocations. Please make changes
|
# and may be overwritten by future invocations. Please make changes
|
||||||
# to /etc/nixos/configuration.nix instead.
|
# to /etc/nixos/configuration.nix instead.
|
||||||
{ config, lib, pkgs, modulesPath, ... }:
|
{ config, lib, modulesPath, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
|
|
|
||||||
|
|
@ -1,11 +0,0 @@
|
||||||
{ inputs, pkgs, ... }:
|
|
||||||
|
|
||||||
{
|
|
||||||
# Enable Hyprland
|
|
||||||
programs.hyprland.enable = true;
|
|
||||||
environment.sessionVariables.NIXOS_OZONE_WL = "1";
|
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
|
||||||
hyprlock
|
|
||||||
];
|
|
||||||
}
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
{ inputs, pkgs, ... }: {
|
{ pkgs, ... }: {
|
||||||
programs.hyprland.enable = true;
|
|
||||||
xdg.portal = {
|
xdg.portal = {
|
||||||
enable = true;
|
enable = true;
|
||||||
wlr.enable = true;
|
wlr.enable = true;
|
||||||
|
|
@ -7,5 +6,7 @@
|
||||||
extraPortals = [
|
extraPortals = [
|
||||||
pkgs.xdg-desktop-portal-hyprland
|
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 = "*";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue