nvf changes

This commit is contained in:
Charlie Root 2024-07-06 15:53:16 +02:00
commit 5548480371
42 changed files with 261 additions and 154 deletions

View file

@ -1,4 +1,4 @@
{ pkgs, ... }: {
{pkgs, ...}: {
# allow unfree packages
nixpkgs.config.allowUnfree = true;
# Time Zone
@ -8,17 +8,17 @@
console.keyMap = "de";
nix = {
settings = {
substituters = [ "https://hyprland.cachix.org" ];
substituters = ["https://hyprland.cachix.org"];
trusted-public-keys = [
"hyprland.cachix.org-1:a7pgxzMz7+chwVL3/pzj6jIBMioiJM7ypFP8PwtkuGc="
];
# enable flakes
experimental-features = [ "nix-command" "flakes" ];
experimental-features = ["nix-command" "flakes"];
# reduce file size used & automatic garbage collector
auto-optimise-store = true;
};
};
security.sudo.package = pkgs.sudo.override { withInsults = true; };
security.sudo.package = pkgs.sudo.override {withInsults = true;};
security.polkit.enable = true;
programs.kdeconnect.enable = true;
programs.dconf.enable = true;
@ -81,7 +81,7 @@
helix.enable = true;
kakoune.enable = true;
nixvim.enable = false; # broken at the moment
# neovim.enable = true;
# neovim.enable = true;
};
services = {
pipewire.enable = true;
@ -91,14 +91,14 @@
stylix = {
enable = true;
scheme = "${pkgs.base16-schemes}/share/themes/gruvbox-dark-pale.yaml";
cursor = { size = 16; };
cursor = {size = 16;};
fontsizes = {
terminal = 12;
popups = 12;
};
image = ../../../assets/wallpapers/tiredgod.png;
};
gtk = { enable = true; };
gtk = {enable = true;};
qt = {
enable = true;
package = pkgs.kde-gruvbox;

View file

@ -1,33 +1,37 @@
# 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
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/b51d0f6c-2980-4117-b9df-5cc2c8ddd2d6";
fsType = "ext4";
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/b51d0f6c-2980-4117-b9df-5cc2c8ddd2d6";
fsType = "ext4";
};
boot.initrd.luks.devices."luks-f1b24c23-8211-433e-983e-2ebad020826e".device = "/dev/disk/by-uuid/f1b24c23-8211-433e-983e-2ebad020826e";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/E355-67EA";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};
# swapDevices =
# [ { device = "/dev/disk/by-uuid/3518272e-1051-41e2-a7f0-f5c744e46789"; }
# ];
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/E355-67EA";
fsType = "vfat";
options = ["fmask=0022" "dmask=0022"];
};
# swapDevices =
# [ { device = "/dev/disk/by-uuid/3518272e-1051-41e2-a7f0-f5c744e46789"; }
# ];
# 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,5 +1,8 @@
{ inputs, pkgs, ... }:
let
{
inputs,
pkgs,
...
}: let
fenix = inputs.fenix.packages.${pkgs.system};
nixpkgs-wayland = inputs.nixpkgs-wayland.packages.${pkgs.system};
in {