mirror of
https://github.com/tomasriveral/nixos.git
synced 2026-08-12 02:28:37 +02:00
Removed entierly nixvim as i didnt got it to work. Put home-manager inside the flake and later removed it back to configuration.nix
This commit is contained in:
@@ -9,7 +9,16 @@
|
||||
[ # Include the results of the hardware scan.
|
||||
./hardware-configuration.nix
|
||||
inputs.home-manager.nixosModules.default
|
||||
];
|
||||
# inputs.nixvim.homeModules.default
|
||||
];
|
||||
|
||||
|
||||
home-manager.useGlobalPkgs = true;
|
||||
home-manager.useUserPackages = true;
|
||||
|
||||
home-manager.users = {
|
||||
tomasr = { pkgs, ... }: import ./home.nix { inherit pkgs; };
|
||||
};
|
||||
|
||||
# Bootloader.
|
||||
boot.loader.systemd-boot.enable = true;
|
||||
@@ -114,19 +123,10 @@ services.upower.enable = true;
|
||||
# Allow unfree packages
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
#home manager config from https://www.youtube.com/watch?v=a67Sv4Mbxmc / https://github.com/vimjoyer/flake-starter-config
|
||||
home-manager = {
|
||||
# also pass inputs to home-manager modules
|
||||
extraSpecialArgs = {inherit inputs;};
|
||||
users = {
|
||||
"tomasr" = import ./home.nix;
|
||||
};
|
||||
};
|
||||
|
||||
# List packages installed in system profile. To search, run:
|
||||
# $ nix search wget
|
||||
environment.systemPackages = with pkgs; [
|
||||
neovim # Do not forget to add an editor to edit configuration.nix! The Nano editor is also installed by default.
|
||||
wget
|
||||
tree # shows dir in tree
|
||||
zsh # better bash
|
||||
|
||||
Reference in New Issue
Block a user