Compare commits

...

5 commits

Author SHA1 Message Date
willifan
3a98b72e7f readded games 2025-01-07 23:28:53 +01:00
willifan
04d3ef23d0 test nixd fix 2025-01-07 23:28:53 +01:00
willifan
fbfa70195b Formatted 2025-01-07 23:28:53 +01:00
willifan
d73191e526 configured nixd 2025-01-07 23:28:53 +01:00
willifan
530eff03e7 added hmts nixvim plugin 2025-01-07 23:28:53 +01:00
64 changed files with 925 additions and 902 deletions

View file

@ -59,7 +59,8 @@
{
nixosConfigurations = {
Lenni = let
Lenni =
let
system = "x86_64-linux";
in
lib.nixosSystem {
@ -88,7 +89,8 @@
};
Puenktchen = let
Puenktchen =
let
system = "x86_64-linux";
in
lib.nixosSystem {
@ -119,7 +121,8 @@
};
Anton = let
Anton =
let
system = "x86_64-linux";
in
lib.nixosSystem {
@ -150,7 +153,8 @@
};
Lillie = let
Lillie =
let
system = "x86_64-linux";
in
lib.nixosSystem {

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
@ -14,7 +15,8 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/e09e7d80-9d85-49e6-8b0e-1f31aea83840";
{
device = "/dev/disk/by-uuid/e09e7d80-9d85-49e6-8b0e-1f31aea83840";
fsType = "btrfs";
options = [ "subvol=@" ];
};
@ -22,7 +24,8 @@
boot.initrd.luks.devices."luks-a2f76baf-2f27-42a4-ae48-1963c566a9ab".device = "/dev/disk/by-uuid/a2f76baf-2f27-42a4-ae48-1963c566a9ab";
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/2A99-D7CC";
{
device = "/dev/disk/by-uuid/2A99-D7CC";
fsType = "vfat";
options = [ "fmask=0022" "dmask=0022" ];
};

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];

View file

@ -5,7 +5,8 @@
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
[
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];

View file

@ -1,4 +1,4 @@
{ lib, config, hostname, ... }:
{ lib, config, inputs, hostname, ... }:
{
@ -29,8 +29,12 @@
networkmanager.enable = true;
hostName = "${hostname}";
};
console.keyMap = "en";
nix.settings.experimental-features = [ "nix-command" "flakes" ];
nix = {
settings.experimental-features = [ "nix-command" "flakes" ];
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
};
nixpkgs.config.allowUnfree = true;
system.stateVersion = "23.11";
}

View file

@ -1,6 +1,8 @@
{ ... }:
{
imports = [
./games
./applications.nix
./autostart.nix
./boot.nix

View file

@ -6,11 +6,13 @@ lib.mkIf config.desktop.enable {
];
services.autofs = {
enable = true;
autoMaster = let
autoMaster =
let
mapConf = pkgs.writeText "auto.nfs" ''
roms -fstype=nfs4 192.168.178.19:/roms
'';
in ''
in
''
/mnt/nfs ${mapConf}
'';
};

View file

@ -1,3 +1,2 @@
{ ... }:
{
}
{ }

View file

@ -16,7 +16,7 @@
./navic.nix
./neotree.nix
./settings.nix
./treesitter.nix
#./treesitter.nix
./whichkey.nix
./yazi.nix
];

View file

@ -2,6 +2,9 @@
{
programs.nixvim = {
plugins = {
hmts.enable = true;
lsp-lines = { enable = true; };
lsp-format = { enable = true; };
lsp = {
@ -11,7 +14,14 @@
clangd = { enable = true; };
html = { enable = true; };
lua_ls = { enable = true; };
nixd = {enable = true;};
nixd = {
enable = true;
settings = {
formatting.command = [ "nixpkgs-fmt" ];
nixpkgs.expr = "import <nixpkgs> {}";
};
};
pyright = { enable = true; };
gopls = { enable = true; };
jsonls = { enable = true; };

View file

@ -1,5 +1,2 @@
{ lib, ... }:
{
}
{ }

View file

@ -1,3 +1,2 @@
{ ... }:
{
}
{ }

View file

@ -1,6 +1,6 @@
{
appimageTools,
fetchurl,
{ appimageTools
, fetchurl
,
}:
let
pname = "UVtools";

View file

@ -1,6 +1,6 @@
{
appimageTools,
fetchurl,
{ appimageTools
, fetchurl
,
}:
let
pname = "yuzu";