changes 5

This commit is contained in:
randomuser 2023-12-21 02:37:40 +00:00
parent 20a26d4b09
commit 77124ef7d9
4 changed files with 24 additions and 1 deletions

View File

@ -6,5 +6,10 @@
./hardware-configuration.nix ./hardware-configuration.nix
]; ];
environment.systemPackages = with pkgs; [
git
neovim
];
nix.settings.experimental-features = [ "nix-command" "flakes" ]; nix.settings.experimental-features = [ "nix-command" "flakes" ];
} }

View File

@ -5,4 +5,6 @@
boot.loader.grub.device = "/dev/vda"; boot.loader.grub.device = "/dev/vda";
networking.hostName = "virtbox"; networking.hostName = "virtbox";
system.stateVersion = "23.11";
} }

View File

@ -178,7 +178,7 @@ in {
fi fi
''; '';
home-manager.users.usr = { home-manager.nixosModules.home-manager.users.usr = {
home.stateVersion = "23.05"; home.stateVersion = "23.05";
programs.neovim = { programs.neovim = {

16
home.nix Normal file
View File

@ -0,0 +1,16 @@
{ config, pkgs, lib, ... }:
{
home.username = "usr";
home.homeDirectory = lib.mkForce "/home/usr";
home.packages = [
pkgs.htop
];
programs.neovim = {
enable = true;
};
home.stateVersion = "23.11";
programs.home-manager.enable = true;
}