Compare commits

...

2 Commits

Author SHA1 Message Date
092579af98 format with nixfmt to nixpkgs standarts
All checks were successful
nix flake show / show-flake (push) Successful in 27s
2025-07-24 19:19:46 +02:00
8ce74dd7bf add nixfmt 2025-07-24 18:52:25 +02:00
56 changed files with 439 additions and 218 deletions

View File

@ -18,34 +18,41 @@
nvf.url = "github:notashelf/nvf";
};
outputs = { self, nixpkgs, nix-flatpak, nvf, ... } @ inputs:
outputs =
{
self,
nixpkgs,
nix-flatpak,
nvf,
...
}@inputs:
let
system = "x86_64-linux";
overlays = builtins.attrValues (import ./overlays);
in
{
nixosConfigurations = {
desktop1 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system overlays; };
modules = [
./hosts/desktop1/configuration.nix
nix-flatpak.nixosModules.nix-flatpak
inputs.stylix.nixosModules.stylix
nvf.nixosModules.default
];
};
laptop1 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system overlays; };
modules = [
./hosts/laptop1/configuration.nix
nix-flatpak.nixosModules.nix-flatpak
inputs.stylix.nixosModules.stylix
nvf.nixosModules.default
];
};
{
nixosConfigurations = {
desktop1 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system overlays; };
modules = [
./hosts/desktop1/configuration.nix
nix-flatpak.nixosModules.nix-flatpak
inputs.stylix.nixosModules.stylix
nvf.nixosModules.default
];
};
laptop1 = nixpkgs.lib.nixosSystem {
specialArgs = { inherit inputs system overlays; };
modules = [
./hosts/laptop1/configuration.nix
nix-flatpak.nixosModules.nix-flatpak
inputs.stylix.nixosModules.stylix
nvf.nixosModules.default
];
};
};
};
};
}

View File

@ -1,18 +1,25 @@
{ inputs, pkgs, overlays, ... }:
{
inputs,
pkgs,
overlays,
...
}:
{
imports =
[
inputs.home-manager.nixosModules.home-manager
../../modules/nix/default.nix
];
imports = [
inputs.home-manager.nixosModules.home-manager
../../modules/nix/default.nix
];
nixpkgs.overlays = overlays;
users.users.smayzy = {
isNormalUser = true;
description = "smayzy";
extraGroups = [ "networkmanager" "wheel" ];
extraGroups = [
"networkmanager"
"wheel"
];
};
environment.systemPackages = with pkgs; [

View File

@ -1,9 +1,8 @@
{ pkgs, ... }:
{
imports =
[
../../modules/home-manager/default.nix
imports = [
../../modules/home-manager/default.nix
];
smayzy.webapps.enable = true;
@ -26,7 +25,7 @@
recursive = true;
force = true;
};
"wallpaper" = {
"wallpaper" = {
source = builtins.toPath ../../wallpapers;
recursive = true;
force = true;
@ -41,8 +40,8 @@
dconf.settings = {
"org/virt-manager/virt-manager/connections" = {
autoconnect = ["qemu:///system"];
uris = ["qemu:///system"];
autoconnect = [ "qemu:///system" ];
uris = [ "qemu:///system" ];
};
};
@ -53,9 +52,9 @@
syntaxHighlighting.enable = true;
history.size = 100000;
shellAliases = {
grep = "grep --color=auto";
cp = "cp -r";
cd = "sl";
grep = "grep --color=auto";
cp = "cp -r";
cd = "sl";
};
};

View File

@ -1,11 +1,10 @@
{ inputs, config, ... }:
{
imports =
[
../common/common.nix
./hardware-configuration.nix
];
imports = [
../common/common.nix
./hardware-configuration.nix
];
networking.hostName = "desktop1";

View File

@ -1,25 +1,41 @@
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"ahci"
"nvme"
"usb_storage"
"usbhid"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/976bcf9c-3b56-4aa6-98f8-1c899af2b0f8";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/976bcf9c-3b56-4aa6-98f8-1c899af2b0f8";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/8E7F-2417";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8E7F-2417";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [ ];

View File

@ -1,8 +1,7 @@
{ ... }:
{
imports =
[
../common/home.nix
imports = [
../common/home.nix
];
}

View File

@ -1,12 +1,11 @@
{ inputs, config, ... }:
{
imports =
[
../common/common.nix
./hardware-configuration.nix
];
imports = [
../common/common.nix
./hardware-configuration.nix
];
smayzy = {
laptop.enable = true;
hyprland.enable = true;

View File

@ -1,32 +1,46 @@
# 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,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" ];
boot.initrd.availableKernelModules = [
"xhci_pci"
"nvme"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/fa4f1a61-338b-4f1e-9f6c-2b2f2cd12f38";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/fa4f1a61-338b-4f1e-9f6c-2b2f2cd12f38";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/8E15-A6E3";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices =
[ { device = "/dev/disk/by-uuid/b451db56-e0a5-4799-88a1-34a31ffe3b08"; }
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/8E15-A6E3";
fsType = "vfat";
options = [
"fmask=0077"
"dmask=0077"
];
};
swapDevices = [
{ device = "/dev/disk/by-uuid/b451db56-e0a5-4799-88a1-34a31ffe3b08"; }
];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's

View File

@ -1,8 +1,7 @@
{ ... }:
{
imports =
[
../common/home.nix
imports = [
../common/home.nix
];
}

View File

@ -1,4 +1,9 @@
{ pkgs, lib, config, ... }:
{
pkgs,
lib,
config,
...
}:
let
inherit (lib) mkIf mkOption types;
in
@ -8,27 +13,26 @@ in
default = false;
description = "set to true if you want to use a nvidia GC";
};
config = mkIf config.smayzy.lf.enable {
xdg.configFile."lf/icons".source = ./icons;
programs.lf = {
enable = true;
commands = {
dragon-out = ''%${pkgs.xdragon}/bin/xdragon -a -x "$fx"'';
editor-open = ''$$EDITOR $f'';
mkdir = ''
''${{
printf "Directory Name: "
read DIR
mkdir $DIR
}}
''${{
printf "Directory Name: "
read DIR
mkdir $DIR
}}
'';
};
keybindings = {
"\\\"" = "";
o = "";
c = "mkdir";
@ -36,18 +40,18 @@ in
"`" = "mark-load";
"\\'" = "mark-load";
"<enter>" = "open";
do = "dragon-out";
"g~" = "cd";
gh = "cd";
"g/" = "/";
ee = "editor-open";
V = ''$${pkgs.bat}/bin/bat --paging=always --theme=gruvbox "$f"'';
};
settings = {
preview = true;
hidden = true;
@ -55,32 +59,31 @@ in
icons = true;
ignorecase = true;
};
extraConfig =
let
previewer =
pkgs.writeShellScriptBin "pv.sh" ''
file=$1
w=$2
h=$3
x=$4
y=$5
if [[ "$( ${pkgs.file}/bin/file -Lb --mime-type "$file")" =~ ^image ]]; then
${pkgs.kitty}/bin/kitty +kitten icat --silent --stdin no --transfer-mode file --place "''${w}x''${h}@''${x}x''${y}" "$file" < /dev/null > /dev/tty
exit 1
fi
${pkgs.pistol}/bin/pistol "$file"
extraConfig =
let
previewer = pkgs.writeShellScriptBin "pv.sh" ''
file=$1
w=$2
h=$3
x=$4
y=$5
if [[ "$( ${pkgs.file}/bin/file -Lb --mime-type "$file")" =~ ^image ]]; then
${pkgs.kitty}/bin/kitty +kitten icat --silent --stdin no --transfer-mode file --place "''${w}x''${h}@''${x}x''${y}" "$file" < /dev/null > /dev/tty
exit 1
fi
${pkgs.pistol}/bin/pistol "$file"
'';
cleaner = pkgs.writeShellScriptBin "clean.sh" ''
${pkgs.kitty}/bin/kitty +kitten icat --clear --stdin no --silent --transfer-mode file < /dev/null > /dev/tty
'';
in
''
set cleaner ${cleaner}/bin/clean.sh
set previewer ${previewer}/bin/pv.sh
'';
cleaner = pkgs.writeShellScriptBin "clean.sh" ''
${pkgs.kitty}/bin/kitty +kitten icat --clear --stdin no --silent --transfer-mode file < /dev/null > /dev/tty
'';
in
''
set cleaner ${cleaner}/bin/clean.sh
set previewer ${previewer}/bin/pv.sh
'';
};
};
}

View File

@ -1,4 +1,9 @@
{ lib, pkgs, config, ... }:
{
lib,
pkgs,
config,
...
}:
let
browser = lib.getExe pkgs.firefox;
inherit (lib) mkIf mkOption types;

View File

@ -1,4 +1,10 @@
{ lib, config, pkgs, smayzy, ... }:
{
lib,
config,
pkgs,
smayzy,
...
}:
let
mkIf = lib.mkIf;
in
@ -54,12 +60,12 @@ in
};
})
];
systemd.user.services.hypr-wallpaper = {
Unit = {
Description = "Wallpaper auto-changer";
};
Service = {
ExecStart = "${pkgs.bash}/bin/bash /home/smayzy/.config/hypr/wallpaper.sh";
Restart = "always";
@ -69,4 +75,3 @@ in
};
}

View File

@ -8,7 +8,7 @@ in
default = false;
description = "audio settings";
};
config = mkIf config.smayzy.audio.enable {
services.pulseaudio.enable = false;
security.rtkit.enable = true;

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ...}:
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,4 @@
{ config, lib, ...}:
{ config, lib, ... }:
let
inherit (lib) mkIf mkOption types;
in
@ -12,11 +12,11 @@ in
config = mkIf config.smayzy.nh.enable {
programs.nh = {
enable = true;
clean= {
clean = {
enable = true;
extraArgs = "--keep 10";
dates = "hourly";
};
};
flake = "/home/smayzy/nix-config";
};
};

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
@ -8,7 +13,7 @@ in
default = false;
description = "nvf config";
};
config = mkIf config.smayzy.nvf.enable {
programs.nvf = {
enable = true;
@ -25,14 +30,14 @@ in
clang.enable = true;
rust.enable = true;
};
theme = {
enable = true;
name = lib.mkDefault "dracula";
};
theme = {
enable = true;
name = lib.mkDefault "dracula";
};
treesitter.enable = true;
statusline.lualine.enable = true;
telescope.enable = true;
autocomplete.nvim-cmp.enable = true;
statusline.lualine.enable = true;
telescope.enable = true;
autocomplete.nvim-cmp.enable = true;
};
};
};

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ...}:
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
@ -21,6 +26,7 @@ in
fastfetch
lf
tshark
nixfmt
];
};
}

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
@ -10,6 +15,6 @@ in
};
config = mkIf config.smayzy.floorp.enable {
environment.systemPackages = with pkgs; [ floorp ];
environment.systemPackages = with pkgs; [ floorp ];
};
}

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
@ -10,6 +15,6 @@ in
};
config = mkIf config.smayzy.librewolf.enable {
environment.systemPackages = with pkgs; [ librewolf ];
environment.systemPackages = with pkgs; [ librewolf ];
};
}

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -28,22 +28,27 @@
i18n.defaultLocale = "en_US.UTF-8";
time.timeZone = "Europe/Paris";
nixpkgs.config.allowUnfreePredicate = pkg: builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
"obsidian"
"nvidia-x11"
"nvidia-settings"
];
nixpkgs.config.allowUnfreePredicate =
pkg:
builtins.elem (lib.getName pkg) [
"steam"
"steam-original"
"steam-unwrapped"
"steam-run"
"obsidian"
"nvidia-x11"
"nvidia-settings"
];
services.xserver.xkb = {
layout = "fr";
variant = "";
};
console.keyMap = "fr";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix.settings.experimental-features = [
"nix-command"
"flakes"
];
networking.networkmanager.enable = true;
}

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
@ -21,10 +21,10 @@ let
];
flatpaks =
(if config.smayzy.flatpak.gaming.enable then gaming else [])
++ (if config.smayzy.flatpak.dev.enable then dev else [])
++ (if config.smayzy.flatpak.utils.enable then utils else [])
++ (if config.smayzy.flatpak.media.enable then media else []);
(if config.smayzy.flatpak.gaming.enable then gaming else [ ])
++ (if config.smayzy.flatpak.dev.enable then dev else [ ])
++ (if config.smayzy.flatpak.utils.enable then utils else [ ])
++ (if config.smayzy.flatpak.media.enable then media else [ ]);
in
{
options.smayzy.flatpak = mkOption {
@ -35,25 +35,25 @@ in
default = false;
description = "enable flatpak support";
};
gaming.enable = mkOption {
type = types.bool;
default = false;
description = "enable gaming flatpaks";
};
dev.enable = mkOption {
type = types.bool;
default = false;
description = "enable dev flatpaks";
};
utils.enable = mkOption {
type = types.bool;
default = true;
description = "enable utils flatpak";
};
media.enable = mkOption {
type = types.bool;
default = false;

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,4 @@
{ lib, config, ... }:
{ lib, config, ... }:
let
inherit (lib) mkIf mkOption types;
in
@ -20,7 +20,7 @@ in
floorp.enable = true;
stylix.enable = true;
audio.enable = true;
office.enable= true;
office.enable = true;
webcord.enable = true;
element.enable = true;
sddm.enable = true;

View File

@ -1,6 +1,6 @@
{ config, lib, ... }:
with lib;
with lib;
{
options.smayzy.grub-on-lap.enable = mkOption {
@ -8,8 +8,8 @@
default = false;
description = "make grub works on this piece of shit laptop that can't boot normally";
};
config = {
config = {
boot.loader.systemd-boot.enable = false;
boot.loader.grub.enable = true;
boot.loader.grub.efiSupport = true;
@ -19,4 +19,4 @@
boot.loader.efi.canTouchEfiVariables = mkIf (!config.smayzy.grub-on-lap.enable) true;
};
}
}

View File

@ -1,7 +1,15 @@
{ config, lib, ... }:
let
inherit (lib) mkIf mkOption types mkMerge;
validOptions = [ "desktop" "laptop" ];
inherit (lib)
mkIf
mkOption
types
mkMerge
;
validOptions = [
"desktop"
"laptop"
];
in
{
options.smayzy.power = mkOption {
@ -17,8 +25,8 @@ in
enable = true;
settings = {
charger = {
governor = "performance";
turbo = "auto";
governor = "performance";
turbo = "auto";
};
};
};
@ -32,15 +40,15 @@ in
settings = {
CPU_SCALING_GOVERNOR_ON_AC = "performance";
CPU_SCALING_GOVERNOR_ON_BAT = "powersave";
CPU_ENERGY_PERF_POLICY_ON_BAT = "power";
CPU_ENERGY_PERF_POLICY_ON_AC = "performance";
CPU_MIN_PERF_ON_AC = 0;
CPU_MAX_PERF_ON_AC = 100;
CPU_MIN_PERF_ON_BAT = 0;
CPU_MAX_PERF_ON_BAT = 100;
STOP_CHARGE_THRESH_BAT0 = 95;
};
};

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ config, lib, pkgs, ... }:
{
config,
lib,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
@ -11,13 +16,13 @@ in
config = mkIf config.smayzy.virt.enable {
programs.virt-manager.enable = true;
users.groups.libvirtd.members = ["smayzy"];
users.groups.libvirtd.members = [ "smayzy" ];
virtualisation.libvirtd.enable = true;
virtualisation.libvirtd.qemu.runAsRoot = false;
virtualisation.libvirtd.qemu.ovmf.enable = true;
environment.systemPackages = with pkgs; [
qemu_kvm
qemu_kvm
];
# https://wiki.nixos.org/wiki/QEMU

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in

View File

@ -1,4 +1,9 @@
{ lib, config, pkgs, ... }:
{
lib,
config,
pkgs,
...
}:
let
inherit (lib) mkIf mkOption types;
in
@ -14,10 +19,10 @@ in
enable = true;
xwayland.enable = true;
};
xdg.portal.enable = true;
xdg.portal.extraPortals = [ pkgs.xdg-desktop-portal-gtk ];
fonts.packages = with pkgs; [ nerd-fonts.jetbrains-mono ];
environment.systemPackages = with pkgs; [