Compare commits
5 commits
81fa1208f3
...
3a98b72e7f
Author | SHA1 | Date | |
---|---|---|---|
|
3a98b72e7f | ||
|
04d3ef23d0 | ||
|
fbfa70195b | ||
|
d73191e526 | ||
|
530eff03e7 |
64 changed files with 925 additions and 902 deletions
12
flake.nix
12
flake.nix
|
@ -59,7 +59,8 @@
|
||||||
{
|
{
|
||||||
nixosConfigurations = {
|
nixosConfigurations = {
|
||||||
|
|
||||||
Lenni = let
|
Lenni =
|
||||||
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in
|
in
|
||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
|
@ -88,7 +89,8 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Puenktchen = let
|
Puenktchen =
|
||||||
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in
|
in
|
||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
|
@ -119,7 +121,8 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Anton = let
|
Anton =
|
||||||
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in
|
in
|
||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
|
@ -150,7 +153,8 @@
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
Lillie = let
|
Lillie =
|
||||||
|
let
|
||||||
system = "x86_64-linux";
|
system = "x86_64-linux";
|
||||||
in
|
in
|
||||||
lib.nixosSystem {
|
lib.nixosSystem {
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usb_storage" "sd_mod" ];
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
imports =
|
||||||
[ (modulesPath + "/installer/scan/not-detected.nix")
|
[
|
||||||
|
(modulesPath + "/installer/scan/not-detected.nix")
|
||||||
];
|
];
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ];
|
||||||
|
@ -14,7 +15,8 @@
|
||||||
boot.extraModulePackages = [ ];
|
boot.extraModulePackages = [ ];
|
||||||
|
|
||||||
fileSystems."/" =
|
fileSystems."/" =
|
||||||
{ device = "/dev/disk/by-uuid/e09e7d80-9d85-49e6-8b0e-1f31aea83840";
|
{
|
||||||
|
device = "/dev/disk/by-uuid/e09e7d80-9d85-49e6-8b0e-1f31aea83840";
|
||||||
fsType = "btrfs";
|
fsType = "btrfs";
|
||||||
options = [ "subvol=@" ];
|
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";
|
boot.initrd.luks.devices."luks-a2f76baf-2f27-42a4-ae48-1963c566a9ab".device = "/dev/disk/by-uuid/a2f76baf-2f27-42a4-ae48-1963c566a9ab";
|
||||||
|
|
||||||
fileSystems."/boot" =
|
fileSystems."/boot" =
|
||||||
{ device = "/dev/disk/by-uuid/2A99-D7CC";
|
{
|
||||||
|
device = "/dev/disk/by-uuid/2A99-D7CC";
|
||||||
fsType = "vfat";
|
fsType = "vfat";
|
||||||
options = [ "fmask=0022" "dmask=0022" ];
|
options = [ "fmask=0022" "dmask=0022" ];
|
||||||
};
|
};
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
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" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "usbhid" "usb_storage" "sd_mod" "sdhci_pci" ];
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
|
|
||||||
{
|
{
|
||||||
imports =
|
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" ];
|
boot.initrd.availableKernelModules = [ "nvme" "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ lib, config, hostname, ... }:
|
{ lib, config, inputs, hostname, ... }:
|
||||||
{
|
{
|
||||||
|
|
||||||
|
|
||||||
|
@ -29,8 +29,12 @@
|
||||||
networkmanager.enable = true;
|
networkmanager.enable = true;
|
||||||
hostName = "${hostname}";
|
hostName = "${hostname}";
|
||||||
};
|
};
|
||||||
|
|
||||||
console.keyMap = "en";
|
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;
|
nixpkgs.config.allowUnfree = true;
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,8 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
imports = [
|
imports = [
|
||||||
|
./games
|
||||||
|
|
||||||
./applications.nix
|
./applications.nix
|
||||||
./autostart.nix
|
./autostart.nix
|
||||||
./boot.nix
|
./boot.nix
|
||||||
|
|
|
@ -6,11 +6,13 @@ lib.mkIf config.desktop.enable {
|
||||||
];
|
];
|
||||||
services.autofs = {
|
services.autofs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
autoMaster = let
|
autoMaster =
|
||||||
|
let
|
||||||
mapConf = pkgs.writeText "auto.nfs" ''
|
mapConf = pkgs.writeText "auto.nfs" ''
|
||||||
roms -fstype=nfs4 192.168.178.19:/roms
|
roms -fstype=nfs4 192.168.178.19:/roms
|
||||||
'';
|
'';
|
||||||
in ''
|
in
|
||||||
|
''
|
||||||
/mnt/nfs ${mapConf}
|
/mnt/nfs ${mapConf}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{ }
|
||||||
}
|
|
||||||
|
|
|
@ -16,7 +16,7 @@
|
||||||
./navic.nix
|
./navic.nix
|
||||||
./neotree.nix
|
./neotree.nix
|
||||||
./settings.nix
|
./settings.nix
|
||||||
./treesitter.nix
|
#./treesitter.nix
|
||||||
./whichkey.nix
|
./whichkey.nix
|
||||||
./yazi.nix
|
./yazi.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -2,6 +2,9 @@
|
||||||
{
|
{
|
||||||
programs.nixvim = {
|
programs.nixvim = {
|
||||||
plugins = {
|
plugins = {
|
||||||
|
|
||||||
|
hmts.enable = true;
|
||||||
|
|
||||||
lsp-lines = { enable = true; };
|
lsp-lines = { enable = true; };
|
||||||
lsp-format = { enable = true; };
|
lsp-format = { enable = true; };
|
||||||
lsp = {
|
lsp = {
|
||||||
|
@ -11,7 +14,14 @@
|
||||||
clangd = { enable = true; };
|
clangd = { enable = true; };
|
||||||
html = { enable = true; };
|
html = { enable = true; };
|
||||||
lua_ls = { enable = true; };
|
lua_ls = { enable = true; };
|
||||||
nixd = {enable = true;};
|
nixd = {
|
||||||
|
enable = true;
|
||||||
|
|
||||||
|
settings = {
|
||||||
|
formatting.command = [ "nixpkgs-fmt" ];
|
||||||
|
nixpkgs.expr = "import <nixpkgs> {}";
|
||||||
|
};
|
||||||
|
};
|
||||||
pyright = { enable = true; };
|
pyright = { enable = true; };
|
||||||
gopls = { enable = true; };
|
gopls = { enable = true; };
|
||||||
jsonls = { enable = true; };
|
jsonls = { enable = true; };
|
||||||
|
|
|
@ -1,5 +1,2 @@
|
||||||
{ lib, ... }:
|
{ lib, ... }:
|
||||||
{
|
{ }
|
||||||
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
|
@ -1,3 +1,2 @@
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{ }
|
||||||
}
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{ appimageTools
|
||||||
appimageTools,
|
, fetchurl
|
||||||
fetchurl,
|
,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pname = "UVtools";
|
pname = "UVtools";
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{ appimageTools
|
||||||
appimageTools,
|
, fetchurl
|
||||||
fetchurl,
|
,
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
pname = "yuzu";
|
pname = "yuzu";
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue