remove darwin config
This commit is contained in:
parent
4ceeff6a65
commit
9f60af47d9
3 changed files with 5 additions and 40 deletions
16
flake.nix
16
flake.nix
|
@ -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;})
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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];
|
||||
}
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue