Compare commits

...

2 Commits

Author SHA1 Message Date
mandlm 84c64e3f78
feat: set nvim as default editor 2022-12-08 14:09:51 +01:00
mandlm 0f0c7b634b
refactor: simplify flake 2022-12-08 14:09:27 +01:00
2 changed files with 5 additions and 5 deletions

View File

@ -8,7 +8,7 @@
};
};
outputs = inputs @ { self, nixpkgs, home-manager, ... }:
outputs = { self, nixpkgs, home-manager }:
let
user = "mandlm";
theme = "dark"; # dark or light
@ -17,7 +17,6 @@
nixosConfigurations = {
nixos-vm = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./configuration.nix
./users.nix
@ -38,7 +37,6 @@
apache = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./configuration.nix
./users.nix
@ -62,7 +60,6 @@
p330 = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./configuration.nix
./users.nix
@ -86,7 +83,6 @@
yoga = nixpkgs.lib.nixosSystem {
system = "x86_64-linux";
specialArgs = inputs;
modules = [
./configuration.nix
./users.nix

View File

@ -60,6 +60,10 @@ in
# symlink for a stable path
home.file.".vscode-extensions/vscode-lldb".source = pkgs.vscode-extensions.vadimcn.vscode-lldb;
home.sessionVariables = {
EDITOR = "nvim";
};
programs = {
neovim = {
enable = true;