Compare commits
No commits in common. "cf890bde0c8cd04d1cba9b2ca3ea5f2c9ac997d9" and "88b5ca00e20ff44ae515632e194a24a8c3ad180f" have entirely different histories.
cf890bde0c
...
88b5ca00e2
|
@ -103,11 +103,14 @@
|
||||||
|
|
||||||
git-credential-oauth
|
git-credential-oauth
|
||||||
|
|
||||||
|
rustup
|
||||||
|
neovim
|
||||||
|
tree-sitter
|
||||||
|
|
||||||
firefox
|
firefox
|
||||||
brave
|
brave
|
||||||
gparted
|
gparted
|
||||||
|
|
||||||
rustup
|
|
||||||
gnumake
|
gnumake
|
||||||
zig
|
zig
|
||||||
go
|
go
|
||||||
|
|
|
@ -36,15 +36,6 @@
|
||||||
inputs.home-manager.nixosModules.default
|
inputs.home-manager.nixosModules.default
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
nixos = nixpkgs.lib.nixosSystem {
|
|
||||||
specialArgs = { inherit inputs; };
|
|
||||||
system = "x86_64-linux";
|
|
||||||
modules = [
|
|
||||||
./hosts/nixos/hardware-configuration.nix
|
|
||||||
./configuration.nix
|
|
||||||
inputs.home-manager.nixosModules.default
|
|
||||||
];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
53
home.nix
53
home.nix
|
@ -22,7 +22,7 @@
|
||||||
|
|
||||||
# The home.packages option allows you to install Nix packages into your
|
# The home.packages option allows you to install Nix packages into your
|
||||||
# environment.
|
# environment.
|
||||||
home.packages = with pkgs; [
|
home.packages = [
|
||||||
# # Adds the 'hello' command to your environment. It prints a friendly
|
# # Adds the 'hello' command to your environment. It prints a friendly
|
||||||
# # "Hello, world!" when run.
|
# # "Hello, world!" when run.
|
||||||
# pkgs.hello
|
# pkgs.hello
|
||||||
|
@ -39,7 +39,6 @@
|
||||||
# (pkgs.writeShellScriptBin "my-hello" ''
|
# (pkgs.writeShellScriptBin "my-hello" ''
|
||||||
# echo "Hello, ${config.home.username}!"
|
# echo "Hello, ${config.home.username}!"
|
||||||
# '')
|
# '')
|
||||||
lua-language-server
|
|
||||||
];
|
];
|
||||||
|
|
||||||
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
# Home Manager is pretty good at managing dotfiles. The primary way to manage
|
||||||
|
@ -59,56 +58,6 @@
|
||||||
# systemd.enable = true;
|
# systemd.enable = true;
|
||||||
# };
|
# };
|
||||||
|
|
||||||
programs.neovim =
|
|
||||||
let
|
|
||||||
treesitterWithGrammars = (pkgs.vimPlugins.nvim-treesitter.withPlugins (p: [
|
|
||||||
p.bash
|
|
||||||
p.comment
|
|
||||||
p.css
|
|
||||||
p.dockerfile
|
|
||||||
p.fish
|
|
||||||
p.gitattributes
|
|
||||||
p.gitignore
|
|
||||||
p.go
|
|
||||||
p.gomod
|
|
||||||
p.gowork
|
|
||||||
p.javascript
|
|
||||||
p.json5
|
|
||||||
p.json
|
|
||||||
p.lua
|
|
||||||
p.make
|
|
||||||
p.markdown
|
|
||||||
p.nix
|
|
||||||
p.python
|
|
||||||
p.rust
|
|
||||||
p.toml
|
|
||||||
p.typescript
|
|
||||||
p.yaml
|
|
||||||
]));
|
|
||||||
|
|
||||||
treesitter-parsers = pkgs.symlinkJoin {
|
|
||||||
name = "treesitter-parsers";
|
|
||||||
paths = treesitterWithGrammars.dependencies;
|
|
||||||
};
|
|
||||||
in
|
|
||||||
{
|
|
||||||
enable = true;
|
|
||||||
withNodeJs = true;
|
|
||||||
# extraConfig = ''vim.opt.runtimepath:append ("${treesitter-parsers}")'';
|
|
||||||
extraLuaConfig = ''
|
|
||||||
-- bootstrap lazy.nvim, LazyVim and your plugins
|
|
||||||
require("config.lazy")
|
|
||||||
|
|
||||||
vim.g.editorconfig = true
|
|
||||||
|
|
||||||
vim.opt.runtimepath:append ("${treesitter-parsers}")
|
|
||||||
'';
|
|
||||||
|
|
||||||
plugins = [
|
|
||||||
treesitterWithGrammars
|
|
||||||
];
|
|
||||||
};
|
|
||||||
|
|
||||||
# Let Home Manager install and manage itself.
|
# Let Home Manager install and manage itself.
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,30 +0,0 @@
|
||||||
# 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 = [ ];
|
|
||||||
|
|
||||||
boot.initrd.availableKernelModules = [ "ata_piix" "ohci_pci" "ehci_pci" "ahci" "sd_mod" "sr_mod" ];
|
|
||||||
boot.initrd.kernelModules = [ ];
|
|
||||||
boot.kernelModules = [ ];
|
|
||||||
boot.extraModulePackages = [ ];
|
|
||||||
|
|
||||||
fileSystems."/" =
|
|
||||||
{ device = "/dev/disk/by-uuid/439bb7c9-9b00-4899-944b-d0606f4c90db";
|
|
||||||
fsType = "ext4";
|
|
||||||
};
|
|
||||||
|
|
||||||
swapDevices = [ ];
|
|
||||||
|
|
||||||
# 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
|
|
||||||
# still possible to use this option, but it's recommended to use it in conjunction
|
|
||||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
|
||||||
networking.useDHCP = lib.mkDefault true;
|
|
||||||
# networking.interfaces.enp0s3.useDHCP = lib.mkDefault true;
|
|
||||||
|
|
||||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
|
||||||
virtualisation.virtualbox.guest.enable = true;
|
|
||||||
}
|
|
Loading…
Reference in New Issue