remove darwin config

This commit is contained in:
Adithya 2023-06-14 10:00:19 +05:30
parent 4ceeff6a65
commit 9f60af47d9
Signed by: adtya
GPG key ID: 48FC9915FFD326D0
3 changed files with 5 additions and 40 deletions

View file

@ -37,7 +37,6 @@
user = (import ./secrets.nix).users;
in {
formatter."x86_64-linux" = nixpkgs.legacyPackages."x86_64-linux".alejandra;
formatter."x86_64-darwin" = nixpkgs.legacyPackages."x86_64-darwin".alejandra;
nixosConfigurations = {
Skipper = nixpkgs.lib.nixosSystem rec {
system = "x86_64-linux";
@ -93,20 +92,5 @@
];
};
};
homeConfigurations."${user.primary.userName}@Alex" = home-manager.lib.homeManagerConfiguration {
pkgs = import nixpkgs {
system = "x86_64-darwin";
config = {
allowUnfree = true;
};
overlays = [nixneovimplugins.overlays.default];
};
# Specify your home configuration modules here, for example,
# the path to your home.nix.
modules = [
(import ./home/darwin.nix {inherit user;})
];
};
};
}

View file

@ -1,16 +0,0 @@
{user, ...}: {
home = {
username = user.primary.userName;
homeDirectory = "/Users/${user.primary.userName}";
stateVersion = "23.11";
};
programs = {
home-manager.enable = true;
fzf.enable = true;
lazygit.enable = true;
nix-index.enable = true;
zoxide.enable = true;
};
imports = [./programs/neovim.nix ./programs/zsh.nix ./programs/tmux.nix ./programs/starship.nix ./programs/exa.nix ./programs/direnv.nix ./programs/bat.nix ./programs/git.nix];
}

View file

@ -1,12 +1,9 @@
{pkgs, ...}: {
xdg.desktopEntries =
if pkgs.stdenv.isLinux
then {
"nvim".name = "Neovim wrapper";
"nvim".exec = "nvim %F";
"nvim".noDisplay = true;
}
else {};
xdg.desktopEntries = {
"nvim".name = "Neovim wrapper";
"nvim".exec = "nvim %F";
"nvim".noDisplay = true;
};
programs.neovim = {
enable = true;
viAlias = true;