Compare commits

..

No commits in common. "8585f1749fd9bef9bc949612284d5d91e09c9a73" and "57815057f6f18d34d81d03b9f351382c81849231" have entirely different histories.

6 changed files with 3 additions and 106 deletions

View file

@ -51,7 +51,6 @@
# to allow non-nix 2.4 evaluation
flake-compat = {
url = "https://flakehub.com/f/edolstra/flake-compat/1.tar.gz";
type = "tarball";
flake = false;
};
rbw-bitw = {

View file

@ -6,9 +6,6 @@
}: let
inherit (lib.meta) getExe;
in {
imports = [
niri.hmModules.niri
];
home.packages = with pkgs; [
wl-clipboard
pamixer

View file

@ -1,11 +1,4 @@
{
pkgs,
inputs,
...
}: {
imports = [
inputs.niri.nixosModules.niri
];
{pkgs, ...}: {
programs.niri = {
enable = true;
package = pkgs.niri-unstable;

View file

@ -1,7 +1,6 @@
{
lib,
std,
pkgs,
...
}: let
inherit (std) set;
@ -38,7 +37,6 @@ in {
plugins = let
pluginsToGen = [
"lspconfig"
"treesitter"
"cmp"
"cmp-clippy"
"cmp-cmdline"
@ -56,29 +54,7 @@ in {
autoLoad = true;
};
in
set.merge [
(genAttrs pluginsToGen (_: basePlugin))
{
treesitter = {
grammarPackages = with pkgs.vimPlugins.nvim-treesitter.builtGrammars; [
bash
json
make
markdown
regex
toml
xml
yaml
gleam
nix
];
settings = {
highlight.enable = true;
indent.enable = true;
};
};
}
];
genAttrs pluginsToGen (_: basePlugin);
diagnostic.settings = {
virtual_text = true;
virtual_lines = true;

View file

@ -1,69 +0,0 @@
_: let
hostConfig = {
lib,
modulesPath,
tree,
...
}: {
imports =
[
(modulesPath + "/profiles/qemu-guest.nix")
]
++ (with tree.nixos.profiles; [
server
]);
boot = {
initrd.availableKernelModules = ["ata_piix" "uhci_hcd" "virtio_pci" "virtio_scsi" "sd_mod" "sr_mod"];
kernelModules = ["kvm-amd"];
loader.grub = {
enable = true;
device = "/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi0";
};
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/d7419452-7f03-40f1-ba9b-74d81cf2436a";
fsType = "xfs";
};
"/boot" = {
device = "/dev/disk/by-uuid/EE23-9347";
fsType = "vfat";
options = ["fmask=0777" "dmask=0777"];
};
};
swapDevices = [
{device = "/dev/disk/by-uuid/08b6efda-1bb5-4698-abae-fbfa8bff84fe";}
];
networking = {
interfaces.ens18.ipv4.addresses = [
{
address = "154.12.117.50";
prefixLength = 27;
}
];
defaultGateway = "154.12.117.33";
nameservers = [
"1.1.1.1"
];
};
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
system.stateVersion = "25.05";
};
in {
arch = "x86_64";
type = "NixOS";
deploy.hostname = "154.12.117.50";
colmena.tags = [
"server"
];
modules = [
hostConfig
];
}

View file

@ -95,6 +95,7 @@
nix-gaming.nixosModules.pipewireLowLatency
nix-gaming.nixosModules.platformOptimizations
clipboard-sync.nixosModules.default
niri.nixosModules.niri
nixos-cli.nixosModules.nixos-cli
stylix.nixosModules.stylix
microvm.nixosModules.host